#include <AAdapt_MeshAdapt.hpp>
Public Member Functions | |
MeshAdapt (const Teuchos::RCP< Teuchos::ParameterList > ¶ms_, const Teuchos::RCP< ParamLib > ¶mLib_, Albany::StateManager &StateMgr_, const Teuchos::RCP< const Epetra_Comm > &comm_) | |
~MeshAdapt () | |
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. | |
Public Attributes | |
Teuchos::RCP< Teuchos::Time > | adaptTime |
Private Member Functions | |
MeshAdapt (const MeshAdapt &) | |
MeshAdapt & | operator= (const MeshAdapt &) |
void | printElementData () |
void | checkValidStateVariable (const std::string name) |
Private Attributes | |
int | numDim |
int | remeshFileIndex |
Teuchos::RCP < AlbPUMI::FMDBMeshStruct > | fmdbMeshStruct |
Teuchos::RCP < Albany::AbstractDiscretization > | disc |
Teuchos::RCP < AlbPUMI::AbstractPUMIDiscretization > | pumi_discretization |
apf::Mesh2 * | mesh |
pMeshMdl | pumiMesh |
int | num_iterations |
const Epetra_Vector * | solution |
const Epetra_Vector * | ovlp_solution |
std::string | adaptation_method |
std::string | base_exo_filename |
bool | loadBalancing |
double | lbMaxImbalance |
Static Private Attributes | |
static Teuchos::RCP< SizeField > | szField = Teuchos::null |
Definition at line 32 of file AAdapt_MeshAdapt.hpp.
AAdapt::MeshAdapt< SizeField >::MeshAdapt | ( | const Teuchos::RCP< Teuchos::ParameterList > & | params_, | |
const Teuchos::RCP< ParamLib > & | paramLib_, | |||
Albany::StateManager & | StateMgr_, | |||
const Teuchos::RCP< const Epetra_Comm > & | comm_ | |||
) |
Definition at line 16 of file AAdapt_MeshAdapt_Def.hpp.
AAdapt::MeshAdapt< SizeField >::~MeshAdapt | ( | ) |
Destructor.
Definition at line 50 of file AAdapt_MeshAdapt_Def.hpp.
AAdapt::MeshAdapt< SizeField >::MeshAdapt | ( | const MeshAdapt< SizeField > & | ) | [private] |
bool AAdapt::MeshAdapt< SizeField >::queryAdaptationCriteria | ( | ) | [virtual] |
Check adaptation criteria to determine if the mesh needs adapting.
Definition at line 55 of file AAdapt_MeshAdapt_Def.hpp.
bool AAdapt::MeshAdapt< 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 133 of file AAdapt_MeshAdapt_Def.hpp.
void AAdapt::MeshAdapt< SizeField >::solutionTransfer | ( | const Epetra_Vector & | oldSolution, | |
Epetra_Vector & | newSolution | |||
) | [virtual] |
Transfer solution between meshes.
Definition at line 227 of file AAdapt_MeshAdapt_Def.hpp.
Teuchos::RCP< const Teuchos::ParameterList > AAdapt::MeshAdapt< SizeField >::getValidAdapterParameters | ( | ) | const [virtual] |
Each adapter must generate it's list of valid parameters.
Reimplemented from AAdapt::AbstractAdapter.
Definition at line 274 of file AAdapt_MeshAdapt_Def.hpp.
MeshAdapt& AAdapt::MeshAdapt< SizeField >::operator= | ( | const MeshAdapt< SizeField > & | ) | [private] |
void AAdapt::MeshAdapt< SizeField >::printElementData | ( | ) | [private] |
Definition at line 84 of file AAdapt_MeshAdapt_Def.hpp.
void AAdapt::MeshAdapt< SizeField >::checkValidStateVariable | ( | const std::string | name | ) | [private] |
Definition at line 239 of file AAdapt_MeshAdapt_Def.hpp.
Teuchos::RCP<Teuchos::Time> AAdapt::MeshAdapt< SizeField >::adaptTime |
Definition at line 56 of file AAdapt_MeshAdapt.hpp.
int AAdapt::MeshAdapt< SizeField >::numDim [private] |
Definition at line 64 of file AAdapt_MeshAdapt.hpp.
int AAdapt::MeshAdapt< SizeField >::remeshFileIndex [private] |
Definition at line 65 of file AAdapt_MeshAdapt.hpp.
Teuchos::RCP<AlbPUMI::FMDBMeshStruct> AAdapt::MeshAdapt< SizeField >::fmdbMeshStruct [private] |
Definition at line 67 of file AAdapt_MeshAdapt.hpp.
Teuchos::RCP<Albany::AbstractDiscretization> AAdapt::MeshAdapt< SizeField >::disc [private] |
Definition at line 69 of file AAdapt_MeshAdapt.hpp.
Teuchos::RCP<AlbPUMI::AbstractPUMIDiscretization> AAdapt::MeshAdapt< SizeField >::pumi_discretization [private] |
Definition at line 70 of file AAdapt_MeshAdapt.hpp.
apf::Mesh2* AAdapt::MeshAdapt< SizeField >::mesh [private] |
Definition at line 72 of file AAdapt_MeshAdapt.hpp.
pMeshMdl AAdapt::MeshAdapt< SizeField >::pumiMesh [private] |
Definition at line 73 of file AAdapt_MeshAdapt.hpp.
int AAdapt::MeshAdapt< SizeField >::num_iterations [private] |
Definition at line 75 of file AAdapt_MeshAdapt.hpp.
const Epetra_Vector* AAdapt::MeshAdapt< SizeField >::solution [private] |
Definition at line 77 of file AAdapt_MeshAdapt.hpp.
const Epetra_Vector* AAdapt::MeshAdapt< SizeField >::ovlp_solution [private] |
Definition at line 78 of file AAdapt_MeshAdapt.hpp.
Teuchos::RCP< SizeField > AAdapt::MeshAdapt< SizeField >::szField = Teuchos::null [static, private] |
Definition at line 80 of file AAdapt_MeshAdapt.hpp.
std::string AAdapt::MeshAdapt< SizeField >::adaptation_method [private] |
Definition at line 86 of file AAdapt_MeshAdapt.hpp.
std::string AAdapt::MeshAdapt< SizeField >::base_exo_filename [private] |
Definition at line 87 of file AAdapt_MeshAdapt.hpp.
bool AAdapt::MeshAdapt< SizeField >::loadBalancing [private] |
Definition at line 89 of file AAdapt_MeshAdapt.hpp.
double AAdapt::MeshAdapt< SizeField >::lbMaxImbalance [private] |
Definition at line 90 of file AAdapt_MeshAdapt.hpp.