This class shows an example of adaptation where the new mesh is an identical copy of the old one. More...
#include <AAdapt_CopyRemesh.hpp>
Public Member Functions | |
CopyRemesh (const Teuchos::RCP< Teuchos::ParameterList > ¶ms, const Teuchos::RCP< ParamLib > ¶m_lib, Albany::StateManager &state_mgr, const Teuchos::RCP< const Epetra_Comm > &comm) | |
Constructor. | |
~CopyRemesh () | |
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. | |
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 | |
CopyRemesh () | |
Prohibit default constructor. | |
CopyRemesh (const CopyRemesh &) | |
Disallow copy and assignment. | |
CopyRemesh & | operator= (const CopyRemesh &) |
Private Attributes | |
stk::mesh::BulkData * | bulk_data_ |
Teuchos::RCP < Albany::AbstractSTKMeshStruct > | stk_mesh_struct_ |
Teuchos::RCP < Albany::AbstractDiscretization > | discretization_ |
Albany::STKDiscretization * | stk_discretization_ |
stk::mesh::fem::FEMMetaData * | meta_data_ |
stk::mesh::EntityRank | node_rank_ |
stk::mesh::EntityRank | edge_rank_ |
stk::mesh::EntityRank | face_rank_ |
stk::mesh::EntityRank | element_rank_ |
int | num_dim_ |
int | remesh_file_index_ |
std::string | base_exo_filename_ |
This class shows an example of adaptation where the new mesh is an identical copy of the old one.
Definition at line 25 of file AAdapt_CopyRemesh.hpp.
AAdapt::CopyRemesh::CopyRemesh | ( | const Teuchos::RCP< Teuchos::ParameterList > & | params, | |
const Teuchos::RCP< ParamLib > & | param_lib, | |||
Albany::StateManager & | state_mgr, | |||
const Teuchos::RCP< const Epetra_Comm > & | comm | |||
) |
Constructor.
Definition at line 20 of file AAdapt_CopyRemesh.cpp.
AAdapt::CopyRemesh::~CopyRemesh | ( | ) |
Destructor.
Definition at line 52 of file AAdapt_CopyRemesh.cpp.
AAdapt::CopyRemesh::CopyRemesh | ( | ) | [private] |
Prohibit default constructor.
AAdapt::CopyRemesh::CopyRemesh | ( | const CopyRemesh & | ) | [private] |
Disallow copy and assignment.
bool AAdapt::CopyRemesh::queryAdaptationCriteria | ( | ) | [virtual] |
Check adaptation criteria to determine if the mesh needs adapting.
Definition at line 57 of file AAdapt_CopyRemesh.cpp.
bool AAdapt::CopyRemesh::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 85 of file AAdapt_CopyRemesh.cpp.
void AAdapt::CopyRemesh::solutionTransfer | ( | const Epetra_Vector & | oldSolution, | |
Epetra_Vector & | newSolution | |||
) | [virtual] |
Transfer solution between meshes.
Definition at line 125 of file AAdapt_CopyRemesh.cpp.
Teuchos::RCP< const Teuchos::ParameterList > AAdapt::CopyRemesh::getValidAdapterParameters | ( | ) | const [virtual] |
Each adapter must generate it's list of valid parameters.
Reimplemented from AAdapt::AbstractAdapter.
Definition at line 134 of file AAdapt_CopyRemesh.cpp.
CopyRemesh& AAdapt::CopyRemesh::operator= | ( | const CopyRemesh & | ) | [private] |
stk::mesh::BulkData* AAdapt::CopyRemesh::bulk_data_ [private] |
Definition at line 84 of file AAdapt_CopyRemesh.hpp.
Teuchos::RCP<Albany::AbstractSTKMeshStruct> AAdapt::CopyRemesh::stk_mesh_struct_ [private] |
Definition at line 86 of file AAdapt_CopyRemesh.hpp.
Teuchos::RCP<Albany::AbstractDiscretization> AAdapt::CopyRemesh::discretization_ [private] |
Definition at line 88 of file AAdapt_CopyRemesh.hpp.
Definition at line 90 of file AAdapt_CopyRemesh.hpp.
stk::mesh::fem::FEMMetaData* AAdapt::CopyRemesh::meta_data_ [private] |
Definition at line 92 of file AAdapt_CopyRemesh.hpp.
stk::mesh::EntityRank AAdapt::CopyRemesh::node_rank_ [private] |
Definition at line 94 of file AAdapt_CopyRemesh.hpp.
stk::mesh::EntityRank AAdapt::CopyRemesh::edge_rank_ [private] |
Definition at line 95 of file AAdapt_CopyRemesh.hpp.
stk::mesh::EntityRank AAdapt::CopyRemesh::face_rank_ [private] |
Definition at line 96 of file AAdapt_CopyRemesh.hpp.
stk::mesh::EntityRank AAdapt::CopyRemesh::element_rank_ [private] |
Definition at line 97 of file AAdapt_CopyRemesh.hpp.
int AAdapt::CopyRemesh::num_dim_ [private] |
Definition at line 99 of file AAdapt_CopyRemesh.hpp.
int AAdapt::CopyRemesh::remesh_file_index_ [private] |
Definition at line 100 of file AAdapt_CopyRemesh.hpp.
std::string AAdapt::CopyRemesh::base_exo_filename_ [private] |
Definition at line 101 of file AAdapt_CopyRemesh.hpp.