37 #ifndef BCInterfaceFunctionParserSolver_H 38 #define BCInterfaceFunctionParserSolver_H 1
41 #include <lifev/bc_interface/core/function/BCInterfaceFunctionParser.hpp> 84 template<
typename BcHandlerType,
typename PhysicalSolverType >
127 std::cout <<
" !!! WARNING: updatePhysicalSolverVariables() is not defined for the selected solver. !!!" << std::endl;
183 std::cout <<
" !!! WARNING: createAccessList() is not defined for the selected solver. !!!" << std::endl;
226 void createFluidMap ( std::map< std::string, physicalSolverList >& mapList );
227 void createSolidMap ( std::map< std::string, physicalSolverList >& mapList );
232 std::cout <<
"ERROR: Invalid variable type for " << operatorType <<
" FunctionSolver" << std::endl;
243 template<
typename BcHandlerType,
typename PhysicalSolverType >
252 template<
typename BcHandlerType,
typename PhysicalSolverType >
262 #ifdef HAVE_LIFEV_DEBUG 263 debugStream ( 5023 ) <<
"BCInterfaceFunctionSolver::BCInterfaceFunctionSolver()" <<
"\n";
273 template<
typename BcHandlerType,
typename PhysicalSolverType >
278 #ifdef HAVE_LIFEV_DEBUG 279 debugStream ( 5023 ) <<
"BCInterfaceFunctionSolver::setData( data )" <<
"\n";
294 template<
typename BcHandlerType,
typename PhysicalSolverType >
298 mapList[
"f_timeStep"] = f_timeStep;
299 mapList[
"f_area"] = f_area;
300 mapList[
"f_density"] = f_density;
301 mapList[
"f_flux"] = f_flux;
302 mapList[
"f_pressure"] = f_pressure;
303 mapList[
"f_viscosity"] = f_viscosity;
304 mapList[
"f_venousPressure"] = f_venousPressure;
307 template<
typename BcHandlerType,
typename PhysicalSolverType >
311 mapList[
"s_density"] = s_density;
312 mapList[
"s_poisson"] = s_poisson;
313 mapList[
"s_thickness"] = s_thickness;
314 mapList[
"s_young"] = s_young;
315 mapList[
"s_externalPressure"] = s_externalPressure;
318 template<
typename BcHandlerType,
typename PhysicalSolverType >
323 for (
typename std::map< std::string, physicalSolverList >::const_iterator j = mapList.begin(); j != mapList.end(); ++j )
324 if ( boost::find_first ( data->baseString(), j->first ) )
326 M_list.insert ( j->second );
BCInterfaceFunction< bcHandler_Type, physicalSolver_Type > function_Type
std::set< physicalSolverList > M_list
function_Type::data_Type data_Type
std::shared_ptr< physicalSolver_Type > physicalSolverPtr_Type
virtual ~BCInterfaceFunctionParserSolver()
Destructor.
BCInterfaceFunctionParserSolver - LifeV boundary condition function file wrapper for BCInterface...
BCInterfaceFunctionParserSolver()
Constructor.
void setVariable(const std::string &name, const Real &value)
Set variable function.
void setSolution(const solutionPtr_Type &solution)
Set solution.
BCInterfaceFunctionParserSolver & operator=(const BCInterfaceFunctionParserSolver &function)
void updateInverseJacobian(const UInt &iQuadPt)
void setPhysicalSolver(const physicalSolverPtr_Type &physicalSolver)
Set the physical solver.
void createSolidMap(std::map< std::string, physicalSolverList > &mapList)
PhysicalSolverType::solutionPtr_Type solutionPtr_Type
void createAccessList(const dataPtr_Type &)
Create the list of variables for the physical solver.
void updatePhysicalSolverVariables()
Update the solver variables.
BCInterfaceFunctionParser - LifeV boundary condition function wrapper for BCInterface.
void switchErrorMessage(const std::string &operatorType)
BCInterfaceFunctionParserSolver(const BCInterfaceFunctionParserSolver &function)
physicalSolverPtr_Type M_physicalSolver
BCInterfaceFunctionParser< bcHandler_Type, physicalSolver_Type > functionParser_Type
double Real
Generic real data.
void createFluidMap(std::map< std::string, physicalSolverList > &mapList)
BcHandlerType bcHandler_Type
void createList(const std::map< std::string, physicalSolverList > &mapList, const dataPtr_Type &data)
solutionPtr_Type M_solution
virtual void setData(const dataPtr_Type &data)
Set data for boundary conditions.
BCInterfaceFunction - Base class for BCInterface boundary functions.
PhysicalSolverType physicalSolver_Type
function_Type::dataPtr_Type dataPtr_Type
BCInterfaceFunctionParser< BcHandlerType, PhysicalSolverType > * createBCInterfaceFunctionParserSolver()
Factory create function.