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

#include <process_factory.hpp>

Collaboration diagram for Kratos::ProcessFactory:

Public Types

using ProductType = std::unique_ptr< Process >
 

Public Member Functions

ProductType Create (const std::string &rProcessClassName, const Parameters &rProcessSettings) const
 
void AddCreator (const std::string &rProcessClassName, std::function< ProductType(const Parameters &)> Creator)
 
void SetCallBackWhenProcessIsUnknown (const std::function< void(const std::string &)> &function)
 

Member Typedef Documentation

◆ ProductType

using Kratos::ProcessFactory::ProductType = std::unique_ptr<Process>

Member Function Documentation

◆ AddCreator()

void Kratos::ProcessFactory::AddCreator ( const std::string &  rProcessClassName,
std::function< ProductType(const Parameters &)>  Creator 
)

◆ Create()

ProcessFactory::ProductType Kratos::ProcessFactory::Create ( const std::string &  rProcessClassName,
const Parameters rProcessSettings 
) const

◆ SetCallBackWhenProcessIsUnknown()

void Kratos::ProcessFactory::SetCallBackWhenProcessIsUnknown ( const std::function< void(const std::string &)> &  function)

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