#include <AAdapt_STKAdapt.hpp>
Public Member Functions | |
STKAdapt (const Teuchos::RCP< Teuchos::ParameterList > ¶ms_, const Teuchos::RCP< ParamLib > ¶mLib_, Albany::StateManager &StateMgr_, const Teuchos::RCP< const Epetra_Comm > &comm_) | |
~STKAdapt () | |
Destructor. | |
virtual bool | queryAdaptationCriteria () |
Check adaptation criteria to determine if the mesh needs adapting. | |
virtual bool | adaptMesh (const Epetra_Vector &solution, const Epetra_Vector &ovlp_solution) |
Apply adaptation method to mesh and problem. Returns true if adaptation is performed successfully. | |
virtual void | solutionTransfer (const Epetra_Vector &oldSolution, Epetra_Vector &newSolution) |
Transfer solution between meshes. | |
Teuchos::RCP< const Teuchos::ParameterList > | getValidAdapterParameters () const |
Each adapter must generate it's list of valid parameters. | |
Private Member Functions | |
STKAdapt (const STKAdapt &) | |
STKAdapt & | operator= (const STKAdapt &) |
void | printElementData () |
Private Attributes | |
int | numDim |
int | remeshFileIndex |
std::string | base_exo_filename |
Teuchos::RCP < Albany::GenericSTKMeshStruct > | genericMeshStruct |
Teuchos::RCP < Albany::AbstractDiscretization > | disc |
Albany::STKDiscretization * | stk_discretization |
Teuchos::RCP < stk::percept::PerceptMesh > | eMesh |
Teuchos::RCP < stk::adapt::UniformRefinerPatternBase > | refinerPattern |
int | num_iterations |
const Epetra_Vector * | solution |
const Epetra_Vector * | ovlp_solution |
Definition at line 29 of file AAdapt_STKAdapt.hpp.
AAdapt::STKAdapt< SizeField >::STKAdapt | ( | const Teuchos::RCP< Teuchos::ParameterList > & | params_, | |
const Teuchos::RCP< ParamLib > & | paramLib_, | |||
Albany::StateManager & | StateMgr_, | |||
const Teuchos::RCP< const Epetra_Comm > & | comm_ | |||
) |
Definition at line 19 of file AAdapt_STKAdapt_Def.hpp.
AAdapt::STKAdapt< SizeField >::~STKAdapt | ( | ) |
Destructor.
Definition at line 48 of file AAdapt_STKAdapt_Def.hpp.
AAdapt::STKAdapt< SizeField >::STKAdapt | ( | const STKAdapt< SizeField > & | ) | [private] |
bool AAdapt::STKAdapt< SizeField >::queryAdaptationCriteria | ( | ) | [virtual] |
Check adaptation criteria to determine if the mesh needs adapting.
Definition at line 53 of file AAdapt_STKAdapt_Def.hpp.
bool AAdapt::STKAdapt< SizeField >::adaptMesh | ( | const Epetra_Vector & | solution, | |
const Epetra_Vector & | ovlp_solution | |||
) | [virtual] |
Apply adaptation method to mesh and problem. Returns true if adaptation is performed successfully.
Definition at line 136 of file AAdapt_STKAdapt_Def.hpp.
void AAdapt::STKAdapt< SizeField >::solutionTransfer | ( | const Epetra_Vector & | oldSolution, | |
Epetra_Vector & | newSolution | |||
) | [virtual] |
Transfer solution between meshes.
Definition at line 230 of file AAdapt_STKAdapt_Def.hpp.
Teuchos::RCP< const Teuchos::ParameterList > AAdapt::STKAdapt< SizeField >::getValidAdapterParameters | ( | ) | const [virtual] |
Each adapter must generate it's list of valid parameters.
Reimplemented from AAdapt::AbstractAdapter.
Definition at line 249 of file AAdapt_STKAdapt_Def.hpp.
STKAdapt& AAdapt::STKAdapt< SizeField >::operator= | ( | const STKAdapt< SizeField > & | ) | [private] |
void AAdapt::STKAdapt< SizeField >::printElementData | ( | ) | [private] |
Definition at line 81 of file AAdapt_STKAdapt_Def.hpp.
int AAdapt::STKAdapt< SizeField >::numDim [private] |
Definition at line 60 of file AAdapt_STKAdapt.hpp.
int AAdapt::STKAdapt< SizeField >::remeshFileIndex [private] |
Definition at line 61 of file AAdapt_STKAdapt.hpp.
std::string AAdapt::STKAdapt< SizeField >::base_exo_filename [private] |
Definition at line 62 of file AAdapt_STKAdapt.hpp.
Teuchos::RCP<Albany::GenericSTKMeshStruct> AAdapt::STKAdapt< SizeField >::genericMeshStruct [private] |
Definition at line 65 of file AAdapt_STKAdapt.hpp.
Teuchos::RCP<Albany::AbstractDiscretization> AAdapt::STKAdapt< SizeField >::disc [private] |
Definition at line 67 of file AAdapt_STKAdapt.hpp.
Albany::STKDiscretization* AAdapt::STKAdapt< SizeField >::stk_discretization [private] |
Definition at line 69 of file AAdapt_STKAdapt.hpp.
Teuchos::RCP<stk::percept::PerceptMesh> AAdapt::STKAdapt< SizeField >::eMesh [private] |
Definition at line 71 of file AAdapt_STKAdapt.hpp.
Teuchos::RCP<stk::adapt::UniformRefinerPatternBase> AAdapt::STKAdapt< SizeField >::refinerPattern [private] |
Definition at line 72 of file AAdapt_STKAdapt.hpp.
int AAdapt::STKAdapt< SizeField >::num_iterations [private] |
Definition at line 74 of file AAdapt_STKAdapt.hpp.
const Epetra_Vector* AAdapt::STKAdapt< SizeField >::solution [private] |
Definition at line 76 of file AAdapt_STKAdapt.hpp.
const Epetra_Vector* AAdapt::STKAdapt< SizeField >::ovlp_solution [private] |
Definition at line 77 of file AAdapt_STKAdapt.hpp.