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 FS_Strategy. More...
#include <fractional_step_settings.h>
Public Member Functions | |
Life Cycle | |
FractionalStepSettings (ModelPart &rModelPart, const unsigned int ThisDomainSize, const unsigned int ThisTimeOrder, const bool UseSlip, const bool MoveMeshFlag, const bool ReformDofSet) | |
Constructor. More... | |
~FractionalStepSettings () override | |
Destructor. More... | |
Access | |
void | SetStrategy (StrategyLabel const &rStrategyLabel, typename TLinearSolver::Pointer pLinearSolver, const double Tolerance, const unsigned int MaxIter) override |
void | SetTurbulenceModel (TurbulenceModelLabel const &rTurbulenceModel, typename TLinearSolver::Pointer pLinearSolver, const double Tolerance, const unsigned int MaxIter) override |
void | SetTurbulenceModel (ProcessPointerType pTurbulenceModel) override |
Input and output | |
std::string | Info () const override |
Turn back information as a string. More... | |
void | PrintInfo (std::ostream &rOStream) const override |
Print information about this object. More... | |
void | PrintData (std::ostream &rOStream) const override |
Print object's data. More... | |
Public Member Functions inherited from Kratos::SolverSettings< TSparseSpace, TDenseSpace, TLinearSolver > | |
SolverSettings (ModelPart &rModelPart, const unsigned int ThisDomainSize, const unsigned int ThisTimeOrder, const bool UseSlip, const bool MoveMeshFlag, const bool ReformDofSet) | |
Constructor. More... | |
virtual | ~SolverSettings () |
Destructor. More... | |
virtual StrategyPointerType | pGetStrategy (StrategyLabel const &rStrategyLabel) |
virtual void | SetStrategy (StrategyLabel const &rStrategyLabel, StrategyPointerType pStrategy) |
virtual bool | GetTurbulenceModel (ProcessPointerType &pTurbulenceModel) |
virtual unsigned int | GetDomainSize () const |
virtual unsigned int | GetTimeOrder () const |
virtual bool | UseSlipConditions () const |
virtual bool | MoveMesh () 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 () |
KRATOS_CLASS_POINTER_DEFINITION (SolverSettings) | |
Pointer definition of SolverSettings. More... | |
Type Definitions | |
typedef SolverSettings< TSparseSpace, TDenseSpace, TLinearSolver > | BaseType |
typedef BaseType::StrategyType | StrategyType |
typedef BaseType::StrategyPointerType | StrategyPointerType |
typedef BaseType::ProcessPointerType | ProcessPointerType |
typedef BaseType::StrategyLabel | StrategyLabel |
typedef BaseType::TurbulenceModelLabel | TurbulenceModelLabel |
KRATOS_CLASS_POINTER_DEFINITION (FractionalStepSettings) | |
Pointer definition of FractionalStepSettings. More... | |
Additional Inherited Members | |
Public Types inherited from Kratos::SolverSettings< TSparseSpace, TDenseSpace, TLinearSolver > | |
enum | StrategyLabel { Velocity , Pressure , NumLabels } |
enum | TurbulenceModelLabel { SpalartAllmaras , NumTurbModels } |
typedef ImplicitSolvingStrategy< TSparseSpace, TDenseSpace, TLinearSolver > | StrategyType |
typedef StrategyType::Pointer | StrategyPointerType |
typedef Process::Pointer | ProcessPointerType |
typedef BuilderAndSolver< TSparseSpace, TDenseSpace, TLinearSolver > | TBuilderAndSolverType |
Protected Member Functions inherited from Kratos::SolverSettings< TSparseSpace, TDenseSpace, TLinearSolver > | |
ModelPart & | GetModelPart () |
Protected Attributes inherited from Kratos::SolverSettings< TSparseSpace, TDenseSpace, TLinearSolver > | |
std::map< StrategyLabel, StrategyPointerType > | mStrategies |
std::map< StrategyLabel, double > | mTolerances |
std::map< StrategyLabel, unsigned int > | mMaxIter |
ProcessPointerType | mpTurbulenceModel |
bool | mHaveTurbulenceModel |
Helper class to define solution strategies for FS_Strategy.
typedef SolverSettings<TSparseSpace,TDenseSpace,TLinearSolver> Kratos::FractionalStepSettings< TSparseSpace, TDenseSpace, TLinearSolver >::BaseType |
typedef BaseType::ProcessPointerType Kratos::FractionalStepSettings< TSparseSpace, TDenseSpace, TLinearSolver >::ProcessPointerType |
typedef BaseType::StrategyLabel Kratos::FractionalStepSettings< TSparseSpace, TDenseSpace, TLinearSolver >::StrategyLabel |
typedef BaseType::StrategyPointerType Kratos::FractionalStepSettings< TSparseSpace, TDenseSpace, TLinearSolver >::StrategyPointerType |
typedef BaseType::StrategyType Kratos::FractionalStepSettings< TSparseSpace, TDenseSpace, TLinearSolver >::StrategyType |
typedef BaseType::TurbulenceModelLabel Kratos::FractionalStepSettings< TSparseSpace, TDenseSpace, TLinearSolver >::TurbulenceModelLabel |
|
inline |
Constructor.
|
inlineoverride |
Destructor.
|
inlineoverridevirtual |
Turn back information as a string.
Reimplemented from Kratos::SolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >.
Kratos::FractionalStepSettings< TSparseSpace, TDenseSpace, TLinearSolver >::KRATOS_CLASS_POINTER_DEFINITION | ( | FractionalStepSettings< TSparseSpace, TDenseSpace, TLinearSolver > | ) |
Pointer definition of FractionalStepSettings.
|
inlineoverridevirtual |
Print object's data.
Reimplemented from Kratos::SolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >.
|
inlineoverridevirtual |
Print information about this object.
Reimplemented from Kratos::SolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Reimplemented from Kratos::SolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >.
|
inlineoverridevirtual |
Reimplemented from Kratos::SolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >.