Public Member Functions | Protected Member Functions | Protected Attributes

Albany::GenericSTKMeshStruct Class Reference

#include <Albany_GenericSTKMeshStruct.hpp>

Inheritance diagram for Albany::GenericSTKMeshStruct:
Inheritance graph
[legend]
Collaboration diagram for Albany::GenericSTKMeshStruct:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void 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)=0
Teuchos::ArrayRCP
< Teuchos::RCP
< Albany::MeshSpecsStruct > > & 
getMeshSpecs ()
void rebalanceAdaptedMesh (const Teuchos::RCP< Teuchos::ParameterList > &params, const Teuchos::RCP< const Epetra_Comm > &comm)
 Re-load balance adapted mesh.
bool useCompositeTet ()
void setupMeshBlkInfo ()
 Process STK mesh for element block specific info.
const Albany::DynamicDataArray
< Albany::CellSpecs >::type & 
getMeshDynamicData () const

Protected Member Functions

 GenericSTKMeshStruct (const Teuchos::RCP< Teuchos::ParameterList > &params, const Teuchos::RCP< Teuchos::ParameterList > &adaptParams, const int numDim=-1)
void SetupFieldData (const Teuchos::RCP< const Epetra_Comm > &comm, const int neq_, const AbstractFieldContainer::FieldContainerRequirements &req, const Teuchos::RCP< Albany::StateInfoStruct > &sis, const int worksetSize_)
bool buildUniformRefiner ()
bool buildLocalRefiner ()
void printParts (stk::mesh::fem::FEMMetaData *metaData)
void cullSubsetParts (std::vector< std::string > &ssNames, std::map< std::string, stk::mesh::Part * > &partVec)
int computeWorksetSize (const int worksetSizeMax, const int ebSizeMax) const
 Utility function that uses some integer arithmetic to choose a good worksetSize.
void rebalanceInitialMesh (const Teuchos::RCP< const Epetra_Comm > &comm)
 Re-load balance mesh.
bool buildPerceptEMesh ()
void uniformRefineMesh (const Teuchos::RCP< const Epetra_Comm > &comm)
 Perform initial uniform refinement of the mesh.
void checkInput (std::string option, std::string value, std::string allowed_values)
 Perform initial adaptation input checking.
void computeAddlConnectivity ()
 Rebuild the mesh with elem->face->segment->node connectivity for adaptation.
 ~GenericSTKMeshStruct ()
Teuchos::RCP
< Teuchos::ParameterList > 
getValidGenericSTKParameters (std::string listname="Discretization Param Names") const

Protected Attributes

bool buildEMesh
 Determine if a percept mesh object is needed.
Teuchos::RCP
< Teuchos::ParameterList > 
params
Teuchos::RCP
< Teuchos::ParameterList > 
adaptParams
 The adaptation parameter list (null if the problem isn't adaptive).
Teuchos::ArrayRCP
< Teuchos::RCP
< Albany::MeshSpecsStruct > > 
meshSpecs
Albany::DynamicDataArray
< CellSpecs >::type 
meshDynamicData
bool uniformRefinementInitialized
bool compositeTet

Detailed Description

Definition at line 24 of file Albany_GenericSTKMeshStruct.hpp.


Constructor & Destructor Documentation

Albany::GenericSTKMeshStruct::GenericSTKMeshStruct ( const Teuchos::RCP< Teuchos::ParameterList > &  params,
const Teuchos::RCP< Teuchos::ParameterList > &  adaptParams,
const int  numDim = -1 
) [protected]

Definition at line 66 of file Albany_GenericSTKMeshStruct.cpp.

Albany::GenericSTKMeshStruct::~GenericSTKMeshStruct (  )  [protected]

Definition at line 101 of file Albany_GenericSTKMeshStruct.cpp.


Member Function Documentation

virtual void Albany::GenericSTKMeshStruct::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 
) [pure virtual]
Teuchos::ArrayRCP< Teuchos::RCP< Albany::MeshSpecsStruct > > & Albany::GenericSTKMeshStruct::getMeshSpecs (  )  [virtual]

Implements Albany::AbstractMeshStruct.

Definition at line 372 of file Albany_GenericSTKMeshStruct.cpp.

void Albany::GenericSTKMeshStruct::rebalanceAdaptedMesh ( const Teuchos::RCP< Teuchos::ParameterList > &  params,
const Teuchos::RCP< const Epetra_Comm > &  comm 
)

Re-load balance adapted mesh.

Definition at line 560 of file Albany_GenericSTKMeshStruct.cpp.

bool Albany::GenericSTKMeshStruct::useCompositeTet (  )  [inline, virtual]

Implements Albany::AbstractSTKMeshStruct.

Definition at line 46 of file Albany_GenericSTKMeshStruct.hpp.

void Albany::GenericSTKMeshStruct::setupMeshBlkInfo (  ) 

Process STK mesh for element block specific info.

Definition at line 665 of file Albany_GenericSTKMeshStruct.cpp.

const Albany::DynamicDataArray<Albany::CellSpecs>::type& Albany::GenericSTKMeshStruct::getMeshDynamicData (  )  const [inline, virtual]

Implements Albany::AbstractMeshStruct.

Definition at line 51 of file Albany_GenericSTKMeshStruct.hpp.

void Albany::GenericSTKMeshStruct::SetupFieldData ( const Teuchos::RCP< const Epetra_Comm > &  comm,
const int  neq_,
const AbstractFieldContainer::FieldContainerRequirements req,
const Teuchos::RCP< Albany::StateInfoStruct > &  sis,
const int  worksetSize_ 
) [protected]

Definition at line 107 of file Albany_GenericSTKMeshStruct.cpp.

bool Albany::GenericSTKMeshStruct::buildUniformRefiner (  )  [protected]

Definition at line 241 of file Albany_GenericSTKMeshStruct.cpp.

bool Albany::GenericSTKMeshStruct::buildLocalRefiner (  )  [protected]

Definition at line 284 of file Albany_GenericSTKMeshStruct.cpp.

void Albany::GenericSTKMeshStruct::printParts ( stk::mesh::fem::FEMMetaData *  metaData  )  [protected]

Definition at line 684 of file Albany_GenericSTKMeshStruct.cpp.

void Albany::GenericSTKMeshStruct::cullSubsetParts ( std::vector< std::string > &  ssNames,
std::map< std::string, stk::mesh::Part * > &  partVec 
) [protected]

Definition at line 323 of file Albany_GenericSTKMeshStruct.cpp.

int Albany::GenericSTKMeshStruct::computeWorksetSize ( const int  worksetSizeMax,
const int  ebSizeMax 
) const [protected]

Utility function that uses some integer arithmetic to choose a good worksetSize.

Definition at line 380 of file Albany_GenericSTKMeshStruct.cpp.

void Albany::GenericSTKMeshStruct::rebalanceInitialMesh ( const Teuchos::RCP< const Epetra_Comm > &  comm  )  [protected]

Re-load balance mesh.

Definition at line 546 of file Albany_GenericSTKMeshStruct.cpp.

bool Albany::GenericSTKMeshStruct::buildPerceptEMesh (  )  [protected]

Definition at line 217 of file Albany_GenericSTKMeshStruct.cpp.

void Albany::GenericSTKMeshStruct::uniformRefineMesh ( const Teuchos::RCP< const Epetra_Comm > &  comm  )  [protected]

Perform initial uniform refinement of the mesh.

Definition at line 501 of file Albany_GenericSTKMeshStruct.cpp.

void Albany::GenericSTKMeshStruct::checkInput ( std::string  option,
std::string  value,
std::string  allowed_values 
) [protected]

Perform initial adaptation input checking.

Definition at line 701 of file Albany_GenericSTKMeshStruct.cpp.

void Albany::GenericSTKMeshStruct::computeAddlConnectivity (  )  [protected]

Rebuild the mesh with elem->face->segment->node connectivity for adaptation.

Definition at line 392 of file Albany_GenericSTKMeshStruct.cpp.

Teuchos::RCP< Teuchos::ParameterList > Albany::GenericSTKMeshStruct::getValidGenericSTKParameters ( std::string  listname = "Discretization Param Names"  )  const [protected]

Definition at line 718 of file Albany_GenericSTKMeshStruct.cpp.


Member Data Documentation

Determine if a percept mesh object is needed.

Definition at line 83 of file Albany_GenericSTKMeshStruct.hpp.

Teuchos::RCP<Teuchos::ParameterList> Albany::GenericSTKMeshStruct::params [protected]

Definition at line 100 of file Albany_GenericSTKMeshStruct.hpp.

Teuchos::RCP<Teuchos::ParameterList> Albany::GenericSTKMeshStruct::adaptParams [protected]

The adaptation parameter list (null if the problem isn't adaptive).

Definition at line 103 of file Albany_GenericSTKMeshStruct.hpp.

Teuchos::ArrayRCP<Teuchos::RCP<Albany::MeshSpecsStruct> > Albany::GenericSTKMeshStruct::meshSpecs [protected]

Definition at line 105 of file Albany_GenericSTKMeshStruct.hpp.

Definition at line 108 of file Albany_GenericSTKMeshStruct.hpp.

Definition at line 115 of file Albany_GenericSTKMeshStruct.hpp.

Definition at line 117 of file Albany_GenericSTKMeshStruct.hpp.


The documentation for this class was generated from the following files: