LifeV
BCInterfaceFactory< BcHandlerType, PhysicalSolverType > Class Template Reference

BCInterfaceFactory - Factory to create BCInterface functions. More...

#include <BCInterfaceDefinitions.hpp>

Type definitions

typedef BcHandlerType bcHandler_Type
 
typedef PhysicalSolverType physicalSolver_Type
 
typedef BCInterfaceFunction< bcHandler_Type, physicalSolver_TypebcFunction_Type
 
typedef std::shared_ptr< bcFunction_TypebcFunctionPtr_Type
 
typedef FactorySingleton< Factory< bcFunction_Type, baseList_Type > > factoryFunction_Type
 
typedef BCInterfaceFunctionParserSolver< bcHandler_Type, physicalSolver_TypebcFunctionParserSolver_Type
 
typedef std::shared_ptr< bcFunctionParserSolver_TypebcFunctionParserSolverPtr_Type
 
typedef BCInterfaceFunctionSolverDefined< bcHandler_Type, physicalSolver_TypebcFunctionSolverDefined_Type
 
typedef std::shared_ptr< bcFunctionSolverDefined_TypebcFunctionSolverDefinedPtr_Type
 
typedef FactorySingleton< Factory< bcFunctionSolverDefined_Type, baseList_Type > > factoryFunctionSolverDefined_Type
 

Constructors & Destructor

 BCInterfaceFactory ()
 Constructor. More...
 
virtual ~BCInterfaceFactory ()
 Destructor. More...
 

Methods

template<typename DataPtrType >
bcFunctionPtr_Type createFunctionParser (const DataPtrType &data)
 Create a parser function. More...
 
template<typename DataPtrType >
bcFunctionSolverDefinedPtr_Type createFunctionSolverDefined (const DataPtrType &data)
 Create a user defined function. More...
 

Unimplemented Methods

 BCInterfaceFactory (const BCInterfaceFactory &bcInterfaceFactory)
 
BCInterfaceFactoryoperator= (const BCInterfaceFactory &bcInterfaceFactory)
 

Detailed Description

template<typename BcHandlerType, typename PhysicalSolverType>
class LifeV::BCInterfaceFactory< BcHandlerType, PhysicalSolverType >

BCInterfaceFactory - Factory to create BCInterface functions.

Author
Cristiano Malossi

This class allows to create boundary functions which can be used by any BCInterface implementation. The following functions are available (see the related classes for more information):

  1. function, which is implemented in BCInterfaceFunctionParser;
  2. functionFile, which is implemented in BCInterfaceFunctionParserFile;
  3. functionSolver, which is implemented in BCInterfaceFunctionParserSolver;
  4. functionFileSolver, which is implemented in BCInterfaceFunctionParserFileSolver;
  5. functionUD, which is implemented in BCInterfaceFunctionUserDefined;
  6. functionSD, which is implemented in BCInterfaceFunctionSolverDefined;

Definition at line 83 of file BCInterfaceDefinitions.hpp.

Member Typedef Documentation

◆ bcHandler_Type

typedef BcHandlerType bcHandler_Type

Definition at line 86 of file BCInterfaceFactory.hpp.

◆ physicalSolver_Type

typedef PhysicalSolverType physicalSolver_Type

Definition at line 87 of file BCInterfaceFactory.hpp.

◆ bcFunction_Type

◆ bcFunctionPtr_Type

typedef std::shared_ptr< bcFunction_Type > bcFunctionPtr_Type

Definition at line 90 of file BCInterfaceFactory.hpp.

◆ factoryFunction_Type

◆ bcFunctionParserSolver_Type

◆ bcFunctionParserSolverPtr_Type

Definition at line 94 of file BCInterfaceFactory.hpp.

◆ bcFunctionSolverDefined_Type

◆ bcFunctionSolverDefinedPtr_Type

Definition at line 97 of file BCInterfaceFactory.hpp.

◆ factoryFunctionSolverDefined_Type

Constructor & Destructor Documentation

◆ BCInterfaceFactory() [1/2]

BCInterfaceFactory ( )
explicit

Constructor.

Definition at line 150 of file BCInterfaceFactory.hpp.

◆ ~BCInterfaceFactory()

virtual ~BCInterfaceFactory ( )
inlinevirtual

Destructor.

Definition at line 110 of file BCInterfaceFactory.hpp.

◆ BCInterfaceFactory() [2/2]

BCInterfaceFactory ( const BCInterfaceFactory< BcHandlerType, PhysicalSolverType > &  bcInterfaceFactory)
private

Member Function Documentation

◆ createFunctionParser()

BCInterfaceFactory< BcHandlerType, PhysicalSolverType >::bcFunctionPtr_Type createFunctionParser ( const DataPtrType &  data)
inline

Create a parser function.

Parameters
datadata container

Definition at line 171 of file BCInterfaceFactory.hpp.

◆ createFunctionSolverDefined()

BCInterfaceFactory< BcHandlerType, PhysicalSolverType >::bcFunctionSolverDefinedPtr_Type createFunctionSolverDefined ( const DataPtrType &  data)
inline

Create a user defined function.

Parameters
datadata container

Definition at line 182 of file BCInterfaceFactory.hpp.

◆ operator=()

BCInterfaceFactory& operator= ( const BCInterfaceFactory< BcHandlerType, PhysicalSolverType > &  bcInterfaceFactory)
private

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