Public Member Functions | Protected Attributes

AAdapt::AdaptiveSolutionManager Class Reference

#include <AAdapt_AdaptiveSolutionManager.hpp>

List of all members.

Public Member Functions

 AdaptiveSolutionManager (const Teuchos::RCP< Teuchos::ParameterList > &appParams, const Teuchos::RCP< Albany::AbstractDiscretization > &disc_, const Teuchos::RCP< const Epetra_Vector > &initial_guess)
virtual ~AdaptiveSolutionManager ()
void buildAdaptiveProblem (const Teuchos::RCP< ParamLib > &paramLib, Albany::StateManager &StateMgr, const Teuchos::RCP< const Epetra_Comm > &comm)
 Build a mesh adaptive problem.
virtual bool adaptProblem ()
 Apply adaptation method to mesh and problem. Returns true if adaptation is performed successfully.
virtual Teuchos::RCP
< AAdapt::AdaptiveModelFactory
modelFactory () const
 Build the model factory that returns the Thyra Model Evaluator wrapping Albany::ModelEvaluator.
AdaptSolutionObserverType getSolObserver ()
virtual void projectCurrentSolution ()
 Remap the solution.
void scatterX (const Epetra_Vector &x, const Epetra_Vector *xdot, const Epetra_Vector *xdotdot)

Protected Attributes

Teuchos::RCP
< Albany::AbstractDiscretization
disc
 Element discretization.
Teuchos::RCP
< Teuchos::FancyOStream > 
out
 Output stream, defaults to printing just Proc 0.
Teuchos::RCP
< AAdapt::AdaptiveModelFactory
thyra_model_factory
 The adaptive thyra model factory object.
Teuchos::RCP< SolutionObserversolutionObserver

Detailed Description

Definition at line 24 of file AAdapt_AdaptiveSolutionManager.hpp.


Constructor & Destructor Documentation

AAdapt::AdaptiveSolutionManager::AdaptiveSolutionManager ( const Teuchos::RCP< Teuchos::ParameterList > &  appParams,
const Teuchos::RCP< Albany::AbstractDiscretization > &  disc_,
const Teuchos::RCP< const Epetra_Vector > &  initial_guess 
)

Definition at line 20 of file AAdapt_AdaptiveSolutionManager.cpp.

AAdapt::AdaptiveSolutionManager::~AdaptiveSolutionManager (  )  [virtual]

Definition at line 60 of file AAdapt_AdaptiveSolutionManager.cpp.


Member Function Documentation

void AAdapt::AdaptiveSolutionManager::buildAdaptiveProblem ( const Teuchos::RCP< ParamLib > &  paramLib,
Albany::StateManager StateMgr,
const Teuchos::RCP< const Epetra_Comm > &  comm 
)

Build a mesh adaptive problem.

Definition at line 69 of file AAdapt_AdaptiveSolutionManager.cpp.

bool AAdapt::AdaptiveSolutionManager::adaptProblem (  )  [virtual]

Apply adaptation method to mesh and problem. Returns true if adaptation is performed successfully.

Definition at line 87 of file AAdapt_AdaptiveSolutionManager.cpp.

Teuchos::RCP< AAdapt::AdaptiveModelFactory > AAdapt::AdaptiveSolutionManager::modelFactory (  )  const [virtual]

Build the model factory that returns the Thyra Model Evaluator wrapping Albany::ModelEvaluator.

Definition at line 134 of file AAdapt_AdaptiveSolutionManager.cpp.

AdaptSolutionObserverType AAdapt::AdaptiveSolutionManager::getSolObserver (  )  [inline]

Definition at line 45 of file AAdapt_AdaptiveSolutionManager.hpp.

void AAdapt::AdaptiveSolutionManager::projectCurrentSolution (  )  [virtual]

Remap the solution.

Definition at line 143 of file AAdapt_AdaptiveSolutionManager.cpp.

void AAdapt::AdaptiveSolutionManager::scatterX ( const Epetra_Vector &  x,
const Epetra_Vector *  xdot,
const Epetra_Vector *  xdotdot 
)

Definition at line 157 of file AAdapt_AdaptiveSolutionManager.cpp.


Member Data Documentation

Element discretization.

Definition at line 58 of file AAdapt_AdaptiveSolutionManager.hpp.

Teuchos::RCP<Teuchos::FancyOStream> AAdapt::AdaptiveSolutionManager::out [protected]

Output stream, defaults to printing just Proc 0.

Definition at line 61 of file AAdapt_AdaptiveSolutionManager.hpp.

The adaptive thyra model factory object.

Definition at line 64 of file AAdapt_AdaptiveSolutionManager.hpp.

Definition at line 67 of file AAdapt_AdaptiveSolutionManager.hpp.


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