Template for STK internal mesh generation classes. More...
#include <Albany_TmplSTKMeshStruct.hpp>
Public Types | |
typedef traits | traits_type |
Type of traits class being used. | |
typedef traits_type::default_element_type | default_element_type |
Default and optional element types created by the class (only meaningful in 2D - quads and tris). | |
typedef traits_type::optional_element_type | optional_element_type |
typedef traits_type::default_element_side_type | default_element_side_type |
Public Member Functions | |
TmplSTKMeshStruct (const Teuchos::RCP< Teuchos::ParameterList > ¶ms, const Teuchos::RCP< Teuchos::ParameterList > &adaptParams, const Teuchos::RCP< const Epetra_Comm > &comm) | |
Default constructor. | |
~TmplSTKMeshStruct () | |
void | setFieldAndBulkData (const Teuchos::RCP< const Epetra_Comm > &comm, const Teuchos::RCP< Teuchos::ParameterList > ¶ms, const unsigned int neq_, const AbstractFieldContainer::FieldContainerRequirements &req, const Teuchos::RCP< Albany::StateInfoStruct > &sis, const unsigned int worksetSize) |
Sets mesh generation parameters. | |
bool | hasRestartSolution () const |
Flag if solution has a restart values -- used in Init Cond. | |
double | restartDataTime () const |
If restarting, convenience function to return restart data time. | |
template<> | |
void | setFieldAndBulkData (const Teuchos::RCP< const Epetra_Comm > &comm, const Teuchos::RCP< Teuchos::ParameterList > ¶ms, const unsigned int neq_, const AbstractFieldContainer::FieldContainerRequirements &req, const Teuchos::RCP< Albany::StateInfoStruct > &sis, const unsigned int worksetSize) |
template<> | |
void | setFieldAndBulkData (const Teuchos::RCP< const Epetra_Comm > &comm, const Teuchos::RCP< Teuchos::ParameterList > ¶ms, const unsigned int neq_, const AbstractFieldContainer::FieldContainerRequirements &req, const Teuchos::RCP< Albany::StateInfoStruct > &sis, const unsigned int worksetSize) |
Private Member Functions | |
void | buildMesh (const Teuchos::RCP< const Epetra_Comm > &comm) |
Build the mesh. | |
Teuchos::RCP< const Teuchos::ParameterList > | getValidDiscretizationParameters () const |
Build a parameter list that contains valid input parameters. | |
void | DeclareParts (std::vector< EBSpecsStruct< Dim, traits > > ebStructArray, std::vector< std::string > ssNames, std::vector< std::string > nsNames) |
Build STK parts and nodesets that correspond to the dimension of the problem and input values. | |
template<> | |
void | buildMesh (const Teuchos::RCP< const Epetra_Comm > &comm) |
template<> | |
void | buildMesh (const Teuchos::RCP< const Epetra_Comm > &comm) |
template<> | |
void | buildMesh (const Teuchos::RCP< const Epetra_Comm > &comm) |
template<> | |
void | buildMesh (const Teuchos::RCP< const Epetra_Comm > &comm) |
template<> | |
Teuchos::RCP< const Teuchos::ParameterList > | getValidDiscretizationParameters () const |
template<> | |
Teuchos::RCP< const Teuchos::ParameterList > | getValidDiscretizationParameters () const |
template<> | |
Teuchos::RCP< const Teuchos::ParameterList > | getValidDiscretizationParameters () const |
template<> | |
Teuchos::RCP< const Teuchos::ParameterList > | getValidDiscretizationParameters () const |
template<> | |
void | buildMesh (const Teuchos::RCP< const Epetra_Comm > &comm) |
template<> | |
void | buildMesh (const Teuchos::RCP< const Epetra_Comm > &comm) |
template<> | |
void | buildMesh (const Teuchos::RCP< const Epetra_Comm > &comm) |
template<> | |
void | buildMesh (const Teuchos::RCP< const Epetra_Comm > &comm) |
template<> | |
Teuchos::RCP< const Teuchos::ParameterList > | getValidDiscretizationParameters () const |
template<> | |
Teuchos::RCP< const Teuchos::ParameterList > | getValidDiscretizationParameters () const |
template<> | |
Teuchos::RCP< const Teuchos::ParameterList > | getValidDiscretizationParameters () const |
template<> | |
Teuchos::RCP< const Teuchos::ParameterList > | getValidDiscretizationParameters () const |
Private Attributes | |
unsigned int | nelem [traits_type::size] |
double | scale [traits_type::size] |
unsigned int | numEB |
std::vector< double > | x [traits_type::size] |
Teuchos::RCP< Epetra_Map > | elem_map |
std::vector< EBSpecsStruct < Dim, traits > > | EBSpecs |
bool | periodic_x |
bool | periodic_y |
bool | periodic_z |
bool | triangles |
Template for STK internal mesh generation classes.
Definition at line 69 of file Albany_TmplSTKMeshStruct.hpp.
typedef traits Albany::TmplSTKMeshStruct< Dim, traits >::traits_type |
Type of traits class being used.
Definition at line 74 of file Albany_TmplSTKMeshStruct.hpp.
typedef traits_type::default_element_type Albany::TmplSTKMeshStruct< Dim, traits >::default_element_type |
Default and optional element types created by the class (only meaningful in 2D - quads and tris).
Definition at line 76 of file Albany_TmplSTKMeshStruct.hpp.
typedef traits_type::optional_element_type Albany::TmplSTKMeshStruct< Dim, traits >::optional_element_type |
Definition at line 77 of file Albany_TmplSTKMeshStruct.hpp.
typedef traits_type::default_element_side_type Albany::TmplSTKMeshStruct< Dim, traits >::default_element_side_type |
Definition at line 78 of file Albany_TmplSTKMeshStruct.hpp.
Albany::TmplSTKMeshStruct< Dim, traits >::TmplSTKMeshStruct | ( | const Teuchos::RCP< Teuchos::ParameterList > & | params, | |
const Teuchos::RCP< Teuchos::ParameterList > & | adaptParams, | |||
const Teuchos::RCP< const Epetra_Comm > & | comm | |||
) |
Default constructor.
Definition at line 24 of file Albany_TmplSTKMeshStruct_Def.hpp.
Albany::TmplSTKMeshStruct< Dim, traits >::~TmplSTKMeshStruct | ( | ) | [inline] |
Definition at line 85 of file Albany_TmplSTKMeshStruct.hpp.
void Albany::TmplSTKMeshStruct< Dim, traits >::setFieldAndBulkData | ( | const Teuchos::RCP< const Epetra_Comm > & | comm, | |
const Teuchos::RCP< Teuchos::ParameterList > & | params, | |||
const unsigned int | neq_, | |||
const AbstractFieldContainer::FieldContainerRequirements & | req, | |||
const Teuchos::RCP< Albany::StateInfoStruct > & | sis, | |||
const unsigned int | worksetSize | |||
) | [virtual] |
Sets mesh generation parameters.
Implements Albany::GenericSTKMeshStruct.
Definition at line 312 of file Albany_TmplSTKMeshStruct_Def.hpp.
bool Albany::TmplSTKMeshStruct< Dim, traits >::hasRestartSolution | ( | ) | const [inline, virtual] |
Flag if solution has a restart values -- used in Init Cond.
Implements Albany::AbstractSTKMeshStruct.
Definition at line 97 of file Albany_TmplSTKMeshStruct.hpp.
double Albany::TmplSTKMeshStruct< Dim, traits >::restartDataTime | ( | ) | const [inline, virtual] |
If restarting, convenience function to return restart data time.
Implements Albany::AbstractSTKMeshStruct.
Definition at line 100 of file Albany_TmplSTKMeshStruct.hpp.
void Albany::TmplSTKMeshStruct< Dim, traits >::buildMesh | ( | const Teuchos::RCP< const Epetra_Comm > & | comm | ) | [private] |
Build the mesh.
Teuchos::RCP<const Teuchos::ParameterList> Albany::TmplSTKMeshStruct< Dim, traits >::getValidDiscretizationParameters | ( | ) | const [private] |
Build a parameter list that contains valid input parameters.
void Albany::TmplSTKMeshStruct< Dim, traits >::DeclareParts | ( | std::vector< EBSpecsStruct< Dim, traits > > | ebStructArray, | |
std::vector< std::string > | ssNames, | |||
std::vector< std::string > | nsNames | |||
) | [private] |
Build STK parts and nodesets that correspond to the dimension of the problem and input values.
Definition at line 379 of file Albany_TmplSTKMeshStruct_Def.hpp.
void Albany::TmplSTKMeshStruct< 0 >::buildMesh | ( | const Teuchos::RCP< const Epetra_Comm > & | comm | ) | [private] |
void Albany::TmplSTKMeshStruct< 1 >::buildMesh | ( | const Teuchos::RCP< const Epetra_Comm > & | comm | ) | [private] |
void Albany::TmplSTKMeshStruct< 2 >::buildMesh | ( | const Teuchos::RCP< const Epetra_Comm > & | comm | ) | [private] |
void Albany::TmplSTKMeshStruct< 3 >::buildMesh | ( | const Teuchos::RCP< const Epetra_Comm > & | comm | ) | [private] |
void Albany::TmplSTKMeshStruct< 0, albany_stk_mesh_traits< 0 > >::setFieldAndBulkData | ( | const Teuchos::RCP< const Epetra_Comm > & | comm, | |
const Teuchos::RCP< Teuchos::ParameterList > & | params, | |||
const unsigned int | neq_, | |||
const AbstractFieldContainer::FieldContainerRequirements & | req, | |||
const Teuchos::RCP< Albany::StateInfoStruct > & | sis, | |||
const unsigned int | worksetSize | |||
) | [virtual] |
Implements Albany::GenericSTKMeshStruct.
Teuchos::RCP< const Teuchos::ParameterList > Albany::TmplSTKMeshStruct< 0 >::getValidDiscretizationParameters | ( | ) | const [private] |
Teuchos::RCP< const Teuchos::ParameterList > Albany::TmplSTKMeshStruct< 1 >::getValidDiscretizationParameters | ( | ) | const [private] |
Teuchos::RCP< const Teuchos::ParameterList > Albany::TmplSTKMeshStruct< 2 >::getValidDiscretizationParameters | ( | ) | const [private] |
Teuchos::RCP< const Teuchos::ParameterList > Albany::TmplSTKMeshStruct< 3 >::getValidDiscretizationParameters | ( | ) | const [private] |
void Albany::TmplSTKMeshStruct< 0 >::buildMesh | ( | const Teuchos::RCP< const Epetra_Comm > & | comm | ) | [private] |
Definition at line 542 of file Albany_TmplSTKMeshStruct_Def.hpp.
void Albany::TmplSTKMeshStruct< 0, Albany::albany_stk_mesh_traits< 0 > >::setFieldAndBulkData | ( | const Teuchos::RCP< const Epetra_Comm > & | comm, | |
const Teuchos::RCP< Teuchos::ParameterList > & | params, | |||
const unsigned int | neq_, | |||
const AbstractFieldContainer::FieldContainerRequirements & | req, | |||
const Teuchos::RCP< Albany::StateInfoStruct > & | sis, | |||
const unsigned int | worksetSize | |||
) | [virtual] |
Implements Albany::GenericSTKMeshStruct.
Definition at line 567 of file Albany_TmplSTKMeshStruct_Def.hpp.
void Albany::TmplSTKMeshStruct< 1 >::buildMesh | ( | const Teuchos::RCP< const Epetra_Comm > & | comm | ) | [private] |
Definition at line 592 of file Albany_TmplSTKMeshStruct_Def.hpp.
void Albany::TmplSTKMeshStruct< 2 >::buildMesh | ( | const Teuchos::RCP< const Epetra_Comm > & | comm | ) | [private] |
Definition at line 692 of file Albany_TmplSTKMeshStruct_Def.hpp.
void Albany::TmplSTKMeshStruct< 3 >::buildMesh | ( | const Teuchos::RCP< const Epetra_Comm > & | comm | ) | [private] |
Definition at line 967 of file Albany_TmplSTKMeshStruct_Def.hpp.
Teuchos::RCP< const Teuchos::ParameterList > Albany::TmplSTKMeshStruct< 0 >::getValidDiscretizationParameters | ( | ) | const [private] |
Definition at line 1318 of file Albany_TmplSTKMeshStruct_Def.hpp.
Teuchos::RCP< const Teuchos::ParameterList > Albany::TmplSTKMeshStruct< 1 >::getValidDiscretizationParameters | ( | ) | const [private] |
Definition at line 1328 of file Albany_TmplSTKMeshStruct_Def.hpp.
Teuchos::RCP< const Teuchos::ParameterList > Albany::TmplSTKMeshStruct< 2 >::getValidDiscretizationParameters | ( | ) | const [private] |
Definition at line 1354 of file Albany_TmplSTKMeshStruct_Def.hpp.
Teuchos::RCP< const Teuchos::ParameterList > Albany::TmplSTKMeshStruct< 3 >::getValidDiscretizationParameters | ( | ) | const [private] |
Definition at line 1385 of file Albany_TmplSTKMeshStruct_Def.hpp.
unsigned int Albany::TmplSTKMeshStruct< Dim, traits >::nelem[traits_type::size] [private] |
Definition at line 118 of file Albany_TmplSTKMeshStruct.hpp.
double Albany::TmplSTKMeshStruct< Dim, traits >::scale[traits_type::size] [private] |
Definition at line 119 of file Albany_TmplSTKMeshStruct.hpp.
unsigned int Albany::TmplSTKMeshStruct< Dim, traits >::numEB [private] |
Definition at line 120 of file Albany_TmplSTKMeshStruct.hpp.
std::vector<double> Albany::TmplSTKMeshStruct< Dim, traits >::x[traits_type::size] [private] |
Definition at line 121 of file Albany_TmplSTKMeshStruct.hpp.
Teuchos::RCP<Epetra_Map> Albany::TmplSTKMeshStruct< Dim, traits >::elem_map [private] |
Definition at line 123 of file Albany_TmplSTKMeshStruct.hpp.
std::vector<EBSpecsStruct<Dim, traits> > Albany::TmplSTKMeshStruct< Dim, traits >::EBSpecs [private] |
Definition at line 124 of file Albany_TmplSTKMeshStruct.hpp.
bool Albany::TmplSTKMeshStruct< Dim, traits >::periodic_x [private] |
Definition at line 126 of file Albany_TmplSTKMeshStruct.hpp.
bool Albany::TmplSTKMeshStruct< Dim, traits >::periodic_y [private] |
Definition at line 126 of file Albany_TmplSTKMeshStruct.hpp.
bool Albany::TmplSTKMeshStruct< Dim, traits >::periodic_z [private] |
Definition at line 126 of file Albany_TmplSTKMeshStruct.hpp.
bool Albany::TmplSTKMeshStruct< Dim, traits >::triangles [private] |
Definition at line 127 of file Albany_TmplSTKMeshStruct.hpp.