Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes

AAdapt::MeshAdapt< SizeField > Class Template Reference

#include <AAdapt_MeshAdapt.hpp>

Inheritance diagram for AAdapt::MeshAdapt< SizeField >:
Inheritance graph
[legend]
Collaboration diagram for AAdapt::MeshAdapt< SizeField >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MeshAdapt (const Teuchos::RCP< Teuchos::ParameterList > &params_, const Teuchos::RCP< ParamLib > &paramLib_, 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 &)
MeshAdaptoperator= (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

Detailed Description

template<class SizeField>
class AAdapt::MeshAdapt< SizeField >

Definition at line 32 of file AAdapt_MeshAdapt.hpp.


Constructor & Destructor Documentation

template<class SizeField >
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.

template<class SizeField >
AAdapt::MeshAdapt< SizeField >::~MeshAdapt (  ) 

Destructor.

Definition at line 50 of file AAdapt_MeshAdapt_Def.hpp.

template<class SizeField >
AAdapt::MeshAdapt< SizeField >::MeshAdapt ( const MeshAdapt< SizeField > &   )  [private]

Member Function Documentation

template<class SizeField >
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.

template<class SizeField >
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.

template<class SizeField >
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.

template<class SizeField >
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.

template<class SizeField >
MeshAdapt& AAdapt::MeshAdapt< SizeField >::operator= ( const MeshAdapt< SizeField > &   )  [private]
template<class SizeField >
void AAdapt::MeshAdapt< SizeField >::printElementData (  )  [private]

Definition at line 84 of file AAdapt_MeshAdapt_Def.hpp.

template<class SizeField >
void AAdapt::MeshAdapt< SizeField >::checkValidStateVariable ( const std::string  name  )  [private]

Definition at line 239 of file AAdapt_MeshAdapt_Def.hpp.


Member Data Documentation

template<class SizeField >
Teuchos::RCP<Teuchos::Time> AAdapt::MeshAdapt< SizeField >::adaptTime

Definition at line 56 of file AAdapt_MeshAdapt.hpp.

template<class SizeField >
int AAdapt::MeshAdapt< SizeField >::numDim [private]

Definition at line 64 of file AAdapt_MeshAdapt.hpp.

template<class SizeField >
int AAdapt::MeshAdapt< SizeField >::remeshFileIndex [private]

Definition at line 65 of file AAdapt_MeshAdapt.hpp.

template<class SizeField >
Teuchos::RCP<AlbPUMI::FMDBMeshStruct> AAdapt::MeshAdapt< SizeField >::fmdbMeshStruct [private]

Definition at line 67 of file AAdapt_MeshAdapt.hpp.

template<class SizeField >
Teuchos::RCP<Albany::AbstractDiscretization> AAdapt::MeshAdapt< SizeField >::disc [private]

Definition at line 69 of file AAdapt_MeshAdapt.hpp.

template<class SizeField >
Teuchos::RCP<AlbPUMI::AbstractPUMIDiscretization> AAdapt::MeshAdapt< SizeField >::pumi_discretization [private]

Definition at line 70 of file AAdapt_MeshAdapt.hpp.

template<class SizeField >
apf::Mesh2* AAdapt::MeshAdapt< SizeField >::mesh [private]

Definition at line 72 of file AAdapt_MeshAdapt.hpp.

template<class SizeField >
pMeshMdl AAdapt::MeshAdapt< SizeField >::pumiMesh [private]

Definition at line 73 of file AAdapt_MeshAdapt.hpp.

template<class SizeField >
int AAdapt::MeshAdapt< SizeField >::num_iterations [private]

Definition at line 75 of file AAdapt_MeshAdapt.hpp.

template<class SizeField >
const Epetra_Vector* AAdapt::MeshAdapt< SizeField >::solution [private]

Definition at line 77 of file AAdapt_MeshAdapt.hpp.

template<class SizeField >
const Epetra_Vector* AAdapt::MeshAdapt< SizeField >::ovlp_solution [private]

Definition at line 78 of file AAdapt_MeshAdapt.hpp.

template<class SizeField >
Teuchos::RCP< SizeField > AAdapt::MeshAdapt< SizeField >::szField = Teuchos::null [static, private]

Definition at line 80 of file AAdapt_MeshAdapt.hpp.

template<class SizeField >
std::string AAdapt::MeshAdapt< SizeField >::adaptation_method [private]

Definition at line 86 of file AAdapt_MeshAdapt.hpp.

template<class SizeField >
std::string AAdapt::MeshAdapt< SizeField >::base_exo_filename [private]

Definition at line 87 of file AAdapt_MeshAdapt.hpp.

template<class SizeField >
bool AAdapt::MeshAdapt< SizeField >::loadBalancing [private]

Definition at line 89 of file AAdapt_MeshAdapt.hpp.

template<class SizeField >
double AAdapt::MeshAdapt< SizeField >::lbMaxImbalance [private]

Definition at line 90 of file AAdapt_MeshAdapt.hpp.


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