Public Member Functions | Private Member Functions | Private Attributes

AAdapt::STKAdapt< SizeField > Class Template Reference

#include <AAdapt_STKAdapt.hpp>

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

List of all members.

Public Member Functions

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

Detailed Description

template<class SizeField>
class AAdapt::STKAdapt< SizeField >

Definition at line 29 of file AAdapt_STKAdapt.hpp.


Constructor & Destructor Documentation

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

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

Destructor.

Definition at line 48 of file AAdapt_STKAdapt_Def.hpp.

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

Member Function Documentation

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

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

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

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

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

Definition at line 81 of file AAdapt_STKAdapt_Def.hpp.


Member Data Documentation

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

Definition at line 60 of file AAdapt_STKAdapt.hpp.

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

Definition at line 61 of file AAdapt_STKAdapt.hpp.

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

Definition at line 62 of file AAdapt_STKAdapt.hpp.

template<class SizeField >
Teuchos::RCP<Albany::GenericSTKMeshStruct> AAdapt::STKAdapt< SizeField >::genericMeshStruct [private]

Definition at line 65 of file AAdapt_STKAdapt.hpp.

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

Definition at line 67 of file AAdapt_STKAdapt.hpp.

template<class SizeField >
Albany::STKDiscretization* AAdapt::STKAdapt< SizeField >::stk_discretization [private]

Definition at line 69 of file AAdapt_STKAdapt.hpp.

template<class SizeField >
Teuchos::RCP<stk::percept::PerceptMesh> AAdapt::STKAdapt< SizeField >::eMesh [private]

Definition at line 71 of file AAdapt_STKAdapt.hpp.

template<class SizeField >
Teuchos::RCP<stk::adapt::UniformRefinerPatternBase> AAdapt::STKAdapt< SizeField >::refinerPattern [private]

Definition at line 72 of file AAdapt_STKAdapt.hpp.

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

Definition at line 74 of file AAdapt_STKAdapt.hpp.

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

Definition at line 76 of file AAdapt_STKAdapt.hpp.

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

Definition at line 77 of file AAdapt_STKAdapt.hpp.


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