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 <solver_settings.h>
Public Member Functions | |
Life Cycle | |
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... | |
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 void | SetTurbulenceModel (TurbulenceModelLabel const &rTurbulenceModel, typename TLinearSolver::Pointer pLinearSolver, const double Tolerance, const unsigned int MaxIter) |
virtual void | SetTurbulenceModel (ProcessPointerType pTurbulenceModel) |
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 () |
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 } |
enum | TurbulenceModelLabel { SpalartAllmaras , NumTurbModels } |
typedef ImplicitSolvingStrategy< TSparseSpace, TDenseSpace, TLinearSolver > | StrategyType |
typedef StrategyType::Pointer | StrategyPointerType |
typedef Process::Pointer | ProcessPointerType |
typedef BuilderAndSolver< TSparseSpace, TDenseSpace, TLinearSolver > | TBuilderAndSolverType |
KRATOS_CLASS_POINTER_DEFINITION (SolverSettings) | |
Pointer definition of SolverSettings. More... | |
Protected Access | |
std::map< StrategyLabel, StrategyPointerType > | mStrategies |
std::map< StrategyLabel, double > | mTolerances |
std::map< StrategyLabel, unsigned int > | mMaxIter |
ProcessPointerType | mpTurbulenceModel |
bool | mHaveTurbulenceModel |
ModelPart & | GetModelPart () |
Helper class to define solution strategies for FS_Strategy.
typedef Process::Pointer Kratos::SolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >::ProcessPointerType |
typedef StrategyType::Pointer Kratos::SolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >::StrategyPointerType |
typedef ImplicitSolvingStrategy<TSparseSpace,TDenseSpace,TLinearSolver> Kratos::SolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >::StrategyType |
typedef BuilderAndSolver<TSparseSpace,TDenseSpace,TLinearSolver> Kratos::SolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >::TBuilderAndSolverType |
enum Kratos::SolverSettings::StrategyLabel |
enum Kratos::SolverSettings::TurbulenceModelLabel |
|
inline |
Constructor.
|
inlinevirtual |
Destructor.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlineprotected |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Turn back information as a string.
Reimplemented in Kratos::TrilinosFractionalStepSettingsPeriodic< TSparseSpace, TDenseSpace, TLinearSolver >, Kratos::TrilinosFractionalStepSettings< TSparseSpace, TDenseSpace, TLinearSolver >, Kratos::FractionalStepSettingsPeriodic< TSparseSpace, TDenseSpace, TLinearSolver >, Kratos::FractionalStepSettings< TSparseSpace, TDenseSpace, TLinearSolver >, and Kratos::FractionalStepSettingsForChimera< TSparseSpace, TDenseSpace, TLinearSolver >.
Kratos::SolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >::KRATOS_CLASS_POINTER_DEFINITION | ( | SolverSettings< TSparseSpace, TDenseSpace, TLinearSolver > | ) |
Pointer definition of SolverSettings.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Print object's data.
Reimplemented in Kratos::TrilinosFractionalStepSettingsPeriodic< TSparseSpace, TDenseSpace, TLinearSolver >, Kratos::TrilinosFractionalStepSettings< TSparseSpace, TDenseSpace, TLinearSolver >, Kratos::FractionalStepSettingsPeriodic< TSparseSpace, TDenseSpace, TLinearSolver >, Kratos::FractionalStepSettings< TSparseSpace, TDenseSpace, TLinearSolver >, and Kratos::FractionalStepSettingsForChimera< TSparseSpace, TDenseSpace, TLinearSolver >.
|
inlinevirtual |
Print information about this object.
Reimplemented in Kratos::TrilinosFractionalStepSettingsPeriodic< TSparseSpace, TDenseSpace, TLinearSolver >, Kratos::TrilinosFractionalStepSettings< TSparseSpace, TDenseSpace, TLinearSolver >, Kratos::FractionalStepSettingsPeriodic< TSparseSpace, TDenseSpace, TLinearSolver >, Kratos::FractionalStepSettings< TSparseSpace, TDenseSpace, TLinearSolver >, and Kratos::FractionalStepSettingsForChimera< TSparseSpace, TDenseSpace, TLinearSolver >.
|
inlinevirtual |
|
inlinevirtual |
|
pure virtual |
Implemented in Kratos::TrilinosFractionalStepSettingsPeriodic< TSparseSpace, TDenseSpace, TLinearSolver >, Kratos::TrilinosFractionalStepSettings< TSparseSpace, TDenseSpace, TLinearSolver >, Kratos::FractionalStepSettingsPeriodic< TSparseSpace, TDenseSpace, TLinearSolver >, Kratos::FractionalStepSettings< TSparseSpace, TDenseSpace, TLinearSolver >, and Kratos::FractionalStepSettingsForChimera< TSparseSpace, TDenseSpace, TLinearSolver >.
|
inlinevirtual |
Reimplemented in Kratos::TrilinosFractionalStepSettingsPeriodic< TSparseSpace, TDenseSpace, TLinearSolver >, Kratos::TrilinosFractionalStepSettings< TSparseSpace, TDenseSpace, TLinearSolver >, Kratos::FractionalStepSettingsPeriodic< TSparseSpace, TDenseSpace, TLinearSolver >, and Kratos::FractionalStepSettings< TSparseSpace, TDenseSpace, TLinearSolver >.
|
inlinevirtual |
Reimplemented in Kratos::TrilinosFractionalStepSettingsPeriodic< TSparseSpace, TDenseSpace, TLinearSolver >, Kratos::TrilinosFractionalStepSettings< TSparseSpace, TDenseSpace, TLinearSolver >, Kratos::FractionalStepSettingsPeriodic< TSparseSpace, TDenseSpace, TLinearSolver >, and Kratos::FractionalStepSettings< TSparseSpace, TDenseSpace, TLinearSolver >.
|
inlinevirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |