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.
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
Kratos::KratosExecute Class Reference

#include <dgeoflow.h>

Collaboration diagram for Kratos::KratosExecute:

Classes

struct  CallBackFunctions
 
struct  CriticalHeadInfo
 

Public Types

using NodeType = Node
 
using SparseSpaceType = UblasSpace< double, CompressedMatrix, Vector >
 
using LocalSpaceType = UblasSpace< double, Matrix, Vector >
 
using LinearSolverType = LinearSolver< SparseSpaceType, LocalSpaceType >
 
using SkylineLUFactorizationSolverType = SkylineLUFactorizationSolver< SparseSpaceType, LocalSpaceType >
 
using ConvergenceCriteriaType = ConvergenceCriteria< SparseSpaceType, LocalSpaceType >
 
using MixedGenericCriteriaType = MixedGenericCriteria< SparseSpaceType, LocalSpaceType >
 
using ConvergenceVariableListType = typename MixedGenericCriteriaType::ConvergenceVariableListType
 
using GeoMechanicsNewtonRaphsonErosionProcessStrategyType = GeoMechanicsNewtonRaphsonErosionProcessStrategy< SparseSpaceType, LocalSpaceType, LinearSolverType >
 
using result_type = SetIdentityFunction< Dof< double > >
 

Public Member Functions

 KratosExecute ()
 
void ParseProcesses (ModelPart &rModelPart, Parameters projFile)
 
int ExecuteFlowAnalysis (std::string_view WorkingDirectory, const std::string &rProjectParamsFileName, const CriticalHeadInfo &rCriticalHeadInfo, std::string_view CriticalHeadBoundaryModelPartName, const CallBackFunctions &rCallBackFunctions)
 
void ExecuteWithoutPiping (ModelPart &rModelPart, const Kratos::Parameters &rGidOutputSettings, const GeoMechanicsNewtonRaphsonErosionProcessStrategyType::Pointer pSolvingStrategy) const
 
int ExecuteWithPiping (ModelPart &rModelPart, const Kratos::Parameters &rGidOutputSettings, const CriticalHeadInfo &rCriticalHeadInfo, LoggerOutput::Pointer pOutput, const CallBackFunctions &rCallBackFunctions, const GeoMechanicsNewtonRaphsonErosionProcessStrategyType::Pointer pSolvingStrategy)
 
void WriteCriticalHeadResultToFile () const
 
void AddNodalSolutionStepVariables (ModelPart &rModelPart) const
 
int FindCriticalHead (ModelPart &rModelPart, const Kratos::Parameters &rGidOutputSettings, const CriticalHeadInfo &rCriticalHeadInfo, LoggerOutput::Pointer pOutput, const shared_ptr< Process > &pRiverBoundary, const GeoMechanicsNewtonRaphsonErosionProcessStrategyType::Pointer pSolvingStrategy, const CallBackFunctions &rCallBackFunctions)
 
void HandleCriticalHeadFound (const CriticalHeadInfo &rCriticalHeadInfo)
 
void HandleCleanUp (const CallBackFunctions &rCallBackFunctions, LoggerOutput::Pointer pOutput)
 

Static Public Member Functions

static ConvergenceCriteriaType::Pointer setup_criteria_dgeoflow ()
 
static LinearSolverType::Pointer setup_solver_dgeoflow ()
 
static GeoMechanicsNewtonRaphsonErosionProcessStrategyType::Pointer setup_strategy_dgeoflow (ModelPart &rModelPart)
 

Member Typedef Documentation

◆ ConvergenceCriteriaType

◆ ConvergenceVariableListType

◆ GeoMechanicsNewtonRaphsonErosionProcessStrategyType

◆ LinearSolverType

◆ LocalSpaceType

◆ MixedGenericCriteriaType

◆ NodeType

◆ result_type

◆ SkylineLUFactorizationSolverType

◆ SparseSpaceType

Constructor & Destructor Documentation

◆ KratosExecute()

Kratos::KratosExecute::KratosExecute ( )

Member Function Documentation

◆ AddNodalSolutionStepVariables()

void Kratos::KratosExecute::AddNodalSolutionStepVariables ( ModelPart rModelPart) const

◆ ExecuteFlowAnalysis()

int Kratos::KratosExecute::ExecuteFlowAnalysis ( std::string_view  WorkingDirectory,
const std::string &  rProjectParamsFileName,
const CriticalHeadInfo rCriticalHeadInfo,
std::string_view  CriticalHeadBoundaryModelPartName,
const CallBackFunctions rCallBackFunctions 
)

◆ ExecuteWithoutPiping()

void Kratos::KratosExecute::ExecuteWithoutPiping ( ModelPart rModelPart,
const Kratos::Parameters rGidOutputSettings,
const GeoMechanicsNewtonRaphsonErosionProcessStrategyType::Pointer  pSolvingStrategy 
) const

◆ ExecuteWithPiping()

int Kratos::KratosExecute::ExecuteWithPiping ( ModelPart rModelPart,
const Kratos::Parameters rGidOutputSettings,
const CriticalHeadInfo rCriticalHeadInfo,
LoggerOutput::Pointer  pOutput,
const CallBackFunctions rCallBackFunctions,
const GeoMechanicsNewtonRaphsonErosionProcessStrategyType::Pointer  pSolvingStrategy 
)

◆ FindCriticalHead()

int Kratos::KratosExecute::FindCriticalHead ( ModelPart rModelPart,
const Kratos::Parameters rGidOutputSettings,
const CriticalHeadInfo rCriticalHeadInfo,
LoggerOutput::Pointer  pOutput,
const shared_ptr< Process > &  pRiverBoundary,
const GeoMechanicsNewtonRaphsonErosionProcessStrategyType::Pointer  pSolvingStrategy,
const CallBackFunctions rCallBackFunctions 
)

◆ HandleCleanUp()

void Kratos::KratosExecute::HandleCleanUp ( const CallBackFunctions rCallBackFunctions,
LoggerOutput::Pointer  pOutput 
)

◆ HandleCriticalHeadFound()

void Kratos::KratosExecute::HandleCriticalHeadFound ( const CriticalHeadInfo rCriticalHeadInfo)

◆ ParseProcesses()

void Kratos::KratosExecute::ParseProcesses ( ModelPart rModelPart,
Parameters  projFile 
)

◆ setup_criteria_dgeoflow()

KratosExecute::ConvergenceCriteriaType::Pointer Kratos::KratosExecute::setup_criteria_dgeoflow ( )
static

◆ setup_solver_dgeoflow()

KratosExecute::LinearSolverType::Pointer Kratos::KratosExecute::setup_solver_dgeoflow ( )
static

◆ setup_strategy_dgeoflow()

KratosExecute::GeoMechanicsNewtonRaphsonErosionProcessStrategyType::Pointer Kratos::KratosExecute::setup_strategy_dgeoflow ( ModelPart rModelPart)
static

◆ WriteCriticalHeadResultToFile()

void Kratos::KratosExecute::WriteCriticalHeadResultToFile ( ) const

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