KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
|
Helper class to define solution strategies for TwoStepVPStrategy. More...
#include <solver_settings.h>
Public Member Functions | |
Life Cycle | |
TwoStepVPSolverSettings (ModelPart &rModelPart, const unsigned int ThisDomainSize, const unsigned int ThisTimeOrder, const bool ReformDofSet) | |
Constructor. More... | |
virtual | ~TwoStepVPSolverSettings () |
Destructor. More... | |
Access | |
virtual StrategyPointerType | pGetStrategy (StrategyLabel const &rStrategyLabel) |
virtual void | SetStrategy (StrategyLabel const &rStrategyLabel, StrategyPointerType pStrategy) |
virtual void | SetStrategy (StrategyLabel const &rStrategyLabel, typename TLinearSolver::Pointer pLinearSolver, const double Tolerance, const unsigned int MaxIter)=0 |
virtual unsigned int | GetDomainSize () const |
virtual bool | FindStrategy (StrategyLabel const &rStrategyLabel, StrategyPointerType &pThisStrategy) |
virtual bool | FindTolerance (StrategyLabel const &rStrategyLabel, double &rTolerance) |
virtual bool | FindMaxIter (StrategyLabel const &rStrategyLabel, unsigned int &rMaxIter) |
virtual void | SetEchoLevel (unsigned int EchoLevel) |
virtual unsigned int | GetEchoLevel () |
bool | GetReformDofSet () |
Input and output | |
virtual std::string | Info () const |
Turn back information as a string. More... | |
virtual void | PrintInfo (std::ostream &rOStream) const |
Print information about this object. More... | |
virtual void | PrintData (std::ostream &rOStream) const |
Print object's data. More... | |
Type Definitions | |
enum | StrategyLabel { Velocity , Pressure , NumLabels } |
typedef SolvingStrategy< TSparseSpace, TDenseSpace > | StrategyType |
typedef StrategyType::Pointer | StrategyPointerType |
typedef Process::Pointer | ProcessPointerType |
KRATOS_CLASS_POINTER_DEFINITION (TwoStepVPSolverSettings) | |
Pointer definition of TwoStepVPSolverSettings. More... | |
Protected Access | |
std::map< StrategyLabel, StrategyPointerType > | mStrategies |
std::map< StrategyLabel, double > | mTolerances |
std::map< StrategyLabel, unsigned int > | mMaxIter |
ModelPart & | GetModelPart () |
Helper class to define solution strategies for TwoStepVPStrategy.
typedef Process::Pointer Kratos::TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >::ProcessPointerType |
typedef StrategyType::Pointer Kratos::TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >::StrategyPointerType |
typedef SolvingStrategy<TSparseSpace, TDenseSpace> Kratos::TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >::StrategyType |
enum Kratos::TwoStepVPSolverSettings::StrategyLabel |
|
inline |
Constructor.
|
inlinevirtual |
Destructor.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlineprotected |
|
inline |
|
inlinevirtual |
Turn back information as a string.
Reimplemented in Kratos::TwoStepVPSettings< TSparseSpace, TDenseSpace, TLinearSolver >.
Kratos::TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >::KRATOS_CLASS_POINTER_DEFINITION | ( | TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver > | ) |
Pointer definition of TwoStepVPSolverSettings.
|
inlinevirtual |
|
inlinevirtual |
Print object's data.
Reimplemented in Kratos::TwoStepVPSettings< TSparseSpace, TDenseSpace, TLinearSolver >.
|
inlinevirtual |
Print information about this object.
Reimplemented in Kratos::TwoStepVPSettings< TSparseSpace, TDenseSpace, TLinearSolver >.
|
inlinevirtual |
|
inlinevirtual |
|
pure virtual |
|
protected |
|
protected |
|
protected |