Finite Element Domain Decomposition Library
FEDDLib
|
This class allows for constructing AssembleFE objects. More...
#include <AssembleFEFactory_decl.hpp>
Public Types | |
typedef AssembleFE< SC, LO, GO, NO > | AssembleFE_Type |
typedef Teuchos::RCP< AssembleFE_Type > | AssembleFEPtr_Type |
Public Member Functions | |
AssembleFEFactory () | |
Constructor. | |
AssembleFEPtr_Type | build (std::string problemType, int flag, vec2D_dbl_Type nodesRefConfig, ParameterListPtr_Type params, tuple_disk_vec_ptr_Type tuple) |
We only need this one function to build assembleFE, where we define the problem type and the AssembleFE object we extend to a specific problem. | |
This class allows for constructing AssembleFE objects.
SC | The scalar type. So far, this is always double, but having it as a template parameter would allow flexibily, e.g., for using complex instead |
LO | The local ordinal type. The is the index type for local indices |
GO | The global ordinal type. The is the index type for global indices (this should actually by removed since the class should operate only on element level) |
NO | The Kokkos Node type. This would allow for performance portibility when using Kokkos. Currently, this is not used. |
This class provides a function for constructing objects of classes derived from AssembleFE. In particular, an AssembleFE object is constructed as follows:
If a new element assembly is implemented, it has to be added to the build() function. Only then, this element assembly can be executed within the FEDDLib.
AssembleFEFactory< SC, LO, GO, NO >::AssembleFEPtr_Type FEDD::AssembleFEFactory< SC, LO, GO, NO >::build | ( | std::string | problemType, |
int | flag, | ||
vec2D_dbl_Type | nodesRefConfig, | ||
ParameterListPtr_Type | params, | ||
tuple_disk_vec_ptr_Type | tuple ) |
We only need this one function to build assembleFE, where we define the problem type and the AssembleFE object we extend to a specific problem.
[in] | problemType | Type of specfic problem we focus on |
[in] | flag | Flag of element |
[in] | nodesRefConfig | Nodes of element in reference configuration |
[in] | params | Parameterlist for current problem |