A factory class to instantiate AbstractDiscretization objects. More...
#include <Albany_DiscretizationFactory.hpp>
Public Member Functions | |
DiscretizationFactory (const Teuchos::RCP< Teuchos::ParameterList > &topLevelParams, const Teuchos::RCP< const Epetra_Comm > &epetra_comm) | |
Default constructor. | |
~DiscretizationFactory () | |
Destructor. | |
Teuchos::RCP < Albany::AbstractMeshStruct > | getMeshStruct () |
Method to inject cubit dependence. | |
Teuchos::ArrayRCP < Teuchos::RCP < Albany::MeshSpecsStruct > > | createMeshSpecs () |
Teuchos::RCP < Albany::AbstractDiscretization > | createDiscretization (unsigned int num_equations, const Teuchos::RCP< Albany::StateInfoStruct > &sis, const AbstractFieldContainer::FieldContainerRequirements &req, const Teuchos::RCP< Piro::MLRigidBodyModes > &rigidBodyModes=Teuchos::null) |
void | setupInternalMeshStruct (unsigned int neq, const Teuchos::RCP< Albany::StateInfoStruct > &sis, const AbstractFieldContainer::FieldContainerRequirements &req) |
Teuchos::RCP < Albany::AbstractDiscretization > | createDiscretizationFromInternalMeshStruct (const Teuchos::RCP< Piro::MLRigidBodyModes > &rigidBodyModes) |
Protected Attributes | |
Teuchos::RCP < Teuchos::ParameterList > | discParams |
Parameter list specifying what element to create. | |
Teuchos::RCP < Teuchos::ParameterList > | adaptParams |
Parameter list specifying adaptation parameters (null if problem isn't adaptive). | |
Teuchos::RCP < Teuchos::ParameterList > | piroParams |
Parameter list specifying solver parameters. | |
Teuchos::RCP < Teuchos::ParameterList > | catalystParams |
Parameter list specifying parameters for Catalyst. | |
Teuchos::RCP< const Epetra_Comm > | epetra_comm |
Teuchos::RCP < Albany::AbstractMeshStruct > | meshStruct |
Private Member Functions | |
DiscretizationFactory (const DiscretizationFactory &) | |
Private to prohibit copying. | |
DiscretizationFactory & | operator= (const DiscretizationFactory &) |
Private to prohibit copying. |
A factory class to instantiate AbstractDiscretization objects.
Definition at line 31 of file Albany_DiscretizationFactory.hpp.
Albany::DiscretizationFactory::DiscretizationFactory | ( | const Teuchos::RCP< Teuchos::ParameterList > & | topLevelParams, | |
const Teuchos::RCP< const Epetra_Comm > & | epetra_comm | |||
) |
Default constructor.
Definition at line 32 of file Albany_DiscretizationFactory.cpp.
Albany::DiscretizationFactory::~DiscretizationFactory | ( | ) | [inline] |
Destructor.
Definition at line 41 of file Albany_DiscretizationFactory.hpp.
Albany::DiscretizationFactory::DiscretizationFactory | ( | const DiscretizationFactory & | ) | [private] |
Private to prohibit copying.
Teuchos::RCP<Albany::AbstractMeshStruct> Albany::DiscretizationFactory::getMeshStruct | ( | ) | [inline] |
Method to inject cubit dependence.
Definition at line 48 of file Albany_DiscretizationFactory.hpp.
Teuchos::ArrayRCP< Teuchos::RCP< Albany::MeshSpecsStruct > > Albany::DiscretizationFactory::createMeshSpecs | ( | ) |
Definition at line 67 of file Albany_DiscretizationFactory.cpp.
Teuchos::RCP< Albany::AbstractDiscretization > Albany::DiscretizationFactory::createDiscretization | ( | unsigned int | num_equations, | |
const Teuchos::RCP< Albany::StateInfoStruct > & | sis, | |||
const AbstractFieldContainer::FieldContainerRequirements & | req, | |||
const Teuchos::RCP< Piro::MLRigidBodyModes > & | rigidBodyModes = Teuchos::null | |||
) |
Definition at line 162 of file Albany_DiscretizationFactory.cpp.
void Albany::DiscretizationFactory::setupInternalMeshStruct | ( | unsigned int | neq, | |
const Teuchos::RCP< Albany::StateInfoStruct > & | sis, | |||
const AbstractFieldContainer::FieldContainerRequirements & | req | |||
) |
Definition at line 187 of file Albany_DiscretizationFactory.cpp.
Teuchos::RCP< Albany::AbstractDiscretization > Albany::DiscretizationFactory::createDiscretizationFromInternalMeshStruct | ( | const Teuchos::RCP< Piro::MLRigidBodyModes > & | rigidBodyModes | ) |
Definition at line 196 of file Albany_DiscretizationFactory.cpp.
DiscretizationFactory& Albany::DiscretizationFactory::operator= | ( | const DiscretizationFactory & | ) | [private] |
Private to prohibit copying.
Teuchos::RCP<Teuchos::ParameterList> Albany::DiscretizationFactory::discParams [protected] |
Parameter list specifying what element to create.
Definition at line 81 of file Albany_DiscretizationFactory.hpp.
Teuchos::RCP<Teuchos::ParameterList> Albany::DiscretizationFactory::adaptParams [protected] |
Parameter list specifying adaptation parameters (null if problem isn't adaptive).
Definition at line 84 of file Albany_DiscretizationFactory.hpp.
Teuchos::RCP<Teuchos::ParameterList> Albany::DiscretizationFactory::piroParams [protected] |
Parameter list specifying solver parameters.
Definition at line 87 of file Albany_DiscretizationFactory.hpp.
Teuchos::RCP<Teuchos::ParameterList> Albany::DiscretizationFactory::catalystParams [protected] |
Parameter list specifying parameters for Catalyst.
Definition at line 90 of file Albany_DiscretizationFactory.hpp.
Teuchos::RCP<const Epetra_Comm> Albany::DiscretizationFactory::epetra_comm [protected] |
Definition at line 92 of file Albany_DiscretizationFactory.hpp.
Teuchos::RCP<Albany::AbstractMeshStruct> Albany::DiscretizationFactory::meshStruct [protected] |
Definition at line 98 of file Albany_DiscretizationFactory.hpp.