![]() |
waves
Basic FE playground
|
Class used to store the element information including: More...
#include <ElementsList.h>
Public Member Functions | |
ElementsList (Problem &pbl, Teuchos::RCP< Map > map) | |
ElementsList constructor. More... | |
local_ordinal_type | getElementNumber (void) const |
Return the number of local elements i.e. the number of elements owned by the calling process. More... | |
local_ordinal_type | getElementType (const local_ordinal_type e) const |
Return the type of the local element of local ID e. Argument: More... | |
local_ordinal_type | getElementSize (const local_ordinal_type e) const |
Return the size of the local element of local ID e. Argument: More... | |
local_ordinal_type | getElementMaterial (const local_ordinal_type e) const |
Return the material ID of the local element of ID e. Argument: More... | |
local_ordinal_type | getElementNode (const local_ordinal_type e, local_ordinal_type i) const |
Return the local ID of the ith node of the local element of ID e. Argument: More... | |
local_ordinal_type | isLocal (const local_ordinal_type e) const |
Return whether local element of ID e is owned by this MPI process (i.e whether it is not a ghost element). Argument: More... | |
Private Types | |
typedef Map::local_ordinal_type | local_ordinal_type |
Private Attributes | |
Kokkos::View< int **, Kokkos::LayoutRight > | elements |
local_ordinal_type | elements_number |
local_ordinal_type | elements_type |
local_ordinal_type | elements_size |
local_ordinal_type | elements_material |
local_ordinal_type | elements_owned |
local_ordinal_type | elements_nodes |
Class used to store the element information including:
|
private |
ElementsList constructor.
This constructor allocates 1 Kokkos::View which stores all the required information related to the elements, including:
Arguments:
|
inline |
Return the material ID of the local element of ID e. Argument:
|
inline |
Return the local ID of the ith node of the local element of ID e. Argument:
|
inline |
Return the number of local elements i.e. the number of elements owned by the calling process.
|
inline |
Return the size of the local element of local ID e. Argument:
|
inline |
Return the type of the local element of local ID e. Argument:
|
inline |
Return whether local element of ID e is owned by this MPI process (i.e whether it is not a ghost element). Argument:
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |