 |
waves
Basic FE playground
|
Go to the documentation of this file. 1 #ifndef KATOPTRON_ELEMENTLISTS_H
2 #define KATOPTRON_ELEMENTLISTS_H
8 #include <Tpetra_Map.hpp>
9 #include <Tpetra_Vector.hpp>
10 #include <Kokkos_ViewFactory.hpp>
30 Kokkos::View<int **, Kokkos::LayoutRight>
elements;
112 #endif //KATOPTRON_ELEMENTLISTS_H
int local_ordinal_type
Definition: Map.h:27
Map::local_ordinal_type local_ordinal_type
Definition: ElementsList.h:27
local_ordinal_type elements_type
Definition: ElementsList.h:33
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 elem...
Definition: ElementsList.h:105
local_ordinal_type elements_nodes
Definition: ElementsList.h:37
local_ordinal_type getElementMaterial(const local_ordinal_type e) const
Return the material ID of the local element of ID e. Argument:
Definition: ElementsList.h:79
local_ordinal_type getElementNumber(void) const
Return the number of local elements i.e. the number of elements owned by the calling process.
Definition: ElementsList.h:46
local_ordinal_type getElementType(const local_ordinal_type e) const
Return the type of the local element of local ID e. Argument:
Definition: ElementsList.h:55
ElementsList(Problem &pbl, Teuchos::RCP< Map > map)
ElementsList constructor.
Definition: ElementsList.cpp:27
Kokkos::View< int **, Kokkos::LayoutRight > elements
Definition: ElementsList.h:30
katoptron namespace
Definition: Algebraic.h:18
Class used to store the element information including:
Definition: ElementsList.h:25
local_ordinal_type elements_owned
Definition: ElementsList.h:36
Class which is used to specify in Python the thermomechanical to solve.
Definition: wProblem.h:19
local_ordinal_type elements_material
Definition: ElementsList.h:35
local_ordinal_type getElementSize(const local_ordinal_type e) const
Return the size of the local element of local ID e. Argument:
Definition: ElementsList.h:67
local_ordinal_type elements_size
Definition: ElementsList.h:34
local_ordinal_type elements_number
Definition: ElementsList.h:32
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:
Definition: ElementsList.h:92