37 #ifndef BCInterfaceFactory_H 38 #define BCInterfaceFactory_H 1
40 #include <lifev/bc_interface/core/bc/BCInterfaceData.hpp> 42 #include <lifev/bc_interface/core/function/BCInterfaceFunctionParser.hpp> 43 #include <lifev/bc_interface/core/function/BCInterfaceFunctionParserFile.hpp> 44 #include <lifev/bc_interface/core/function/BCInterfaceFunctionParserSolver.hpp> 45 #include <lifev/bc_interface/core/function/BCInterfaceFunctionParserFileSolver.hpp> 46 #include <lifev/bc_interface/core/function/BCInterfaceFunctionUserDefined.hpp> 47 #include <lifev/bc_interface/core/function/BCInterfaceFunctionSolverDefined.hpp> 53 template<
typename BcHandlerType,
typename PhysicalSolverType >
54 class BCInterfaceFunctionSolverDefined;
56 template<
typename BcHandlerType,
typename PhysicalSolverType >
78 template<
typename BcHandlerType,
typename PhysicalSolverType >
79 class BCInterfaceFactory
122 template<
typename DataPtrType >
129 template<
typename DataPtrType >
141 BCInterfaceFactory&
operator= (
const BCInterfaceFactory& bcInterfaceFactory );
149 template<
typename BcHandlerType,
typename PhysicalSolverType >
153 #ifdef HAVE_LIFEV_DEBUG 154 debugStream ( 5020 ) <<
"BCInterfaceFactory::BCInterfaceFactory" <<
"\n";
158 factoryFunction_Type::instance().registerProduct ( BCIFunctionParser, &createBCInterfaceFunctionParser< bcHandler_Type, physicalSolver_Type > );
159 factoryFunction_Type::instance().registerProduct ( BCIFunctionParserFile, &createBCInterfaceFunctionParserFile< bcHandler_Type, physicalSolver_Type > );
160 factoryFunction_Type::instance().registerProduct ( BCIFunctionParserSolver, &createBCInterfaceFunctionParserSolver< bcHandler_Type, physicalSolver_Type > );
161 factoryFunction_Type::instance().registerProduct ( BCIFunctionParserFileSolver, &createBCInterfaceFunctionParserFileSolver< bcHandler_Type, physicalSolver_Type > );
162 factoryFunction_Type::instance().registerProduct ( BCIFunctionUserDefined, &createBCInterfaceFunctionUserDefined< bcHandler_Type, physicalSolver_Type > );
163 factoryFunctionSolverDefined_Type::instance().registerProduct ( BCIFunctionSolverDefined, &createBCInterfaceFunctionSolverDefined< bcHandler_Type, physicalSolver_Type > );
170 inline typename BCInterfaceFactory< BcHandlerType, PhysicalSolverType >::
bcFunctionPtr_Type 173 bcFunctionPtr_Type function ( factoryFunction_Type::instance().createObject ( data->base().second, data->mapBase() ) );
175 function->setData ( data );
186 function->setData ( data );
PhysicalSolverType physicalSolver_Type
BCInterfaceFunctionParserSolver - LifeV boundary condition function file wrapper for BCInterface...
std::shared_ptr< bcFunctionParserSolver_Type > bcFunctionParserSolverPtr_Type
BCInterfaceFunctionParserSolver< bcHandler_Type, physicalSolver_Type > bcFunctionParserSolver_Type
BCInterfaceFunctionSolverDefined< bcHandler_Type, physicalSolver_Type > bcFunctionSolverDefined_Type
BCInterfaceFactory()
Constructor.
void updateInverseJacobian(const UInt &iQuadPt)
FactorySingleton< Factory< bcFunctionSolverDefined_Type, baseList_Type > > factoryFunctionSolverDefined_Type
bcFunctionPtr_Type createFunctionParser(const DataPtrType &data)
Create a parser function.
BcHandlerType bcHandler_Type
BCInterfaceFactory(const BCInterfaceFactory &bcInterfaceFactory)
BCInterfaceFunction< bcHandler_Type, physicalSolver_Type > bcFunction_Type
bcFunctionSolverDefinedPtr_Type createFunctionSolverDefined(const DataPtrType &data)
Create a user defined function.
BCInterfaceFactory & operator=(const BCInterfaceFactory &bcInterfaceFactory)
virtual ~BCInterfaceFactory()
Destructor.
std::shared_ptr< bcFunctionSolverDefined_Type > bcFunctionSolverDefinedPtr_Type
BCInterfaceFunctionSolverDefined< BcHandlerType, PhysicalSolverType > * createBCInterfaceFunctionSolverDefined()
Factory create function.
FactorySingleton< Factory< bcFunction_Type, baseList_Type > > factoryFunction_Type
BCInterfaceFunction - Base class for BCInterface boundary functions.
std::shared_ptr< bcFunction_Type > bcFunctionPtr_Type