#include <AAdapt_AdaptiveSolutionManager.hpp>
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 > ¶mLib, 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< SolutionObserver > | solutionObserver |
Definition at line 24 of file AAdapt_AdaptiveSolutionManager.hpp.
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.
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.
Teuchos::RCP<Albany::AbstractDiscretization> AAdapt::AdaptiveSolutionManager::disc [protected] |
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.
Teuchos::RCP<AAdapt::AdaptiveModelFactory> AAdapt::AdaptiveSolutionManager::thyra_model_factory [protected] |
The adaptive thyra model factory object.
Definition at line 64 of file AAdapt_AdaptiveSolutionManager.hpp.
Teuchos::RCP<SolutionObserver> AAdapt::AdaptiveSolutionManager::solutionObserver [protected] |
Definition at line 67 of file AAdapt_AdaptiveSolutionManager.hpp.