LifeV
BCInterfaceFunctionParserFileSolver< BcHandlerType, PhysicalSolverType > Class Template Reference

BCInterfaceFunctionParserFileSolver - LifeV boundary condition function file wrapper for BCInterface. More...

#include <BCInterfaceFunctionParserFileSolver.hpp>

+ Inheritance diagram for BCInterfaceFunctionParserFileSolver< BcHandlerType, PhysicalSolverType >:
+ Collaboration diagram for BCInterfaceFunctionParserFileSolver< BcHandlerType, PhysicalSolverType >:

Type definitions

typedef BcHandlerType bcHandler_Type
 
typedef PhysicalSolverType physicalSolver_Type
 
typedef BCInterfaceFunction< bcHandler_Type, physicalSolver_Typefunction_Type
 
typedef BCInterfaceFunctionParser< bcHandler_Type, physicalSolver_TypefunctionParser_Type
 
typedef BCInterfaceFunctionParserFile< bcHandler_Type, physicalSolver_TypefunctionParserFile_Type
 
typedef BCInterfaceFunctionParserSolver< bcHandler_Type, physicalSolver_TypefunctionParserSolver_Type
 
typedef function_Type::data_Type data_Type
 
typedef function_Type::dataPtr_Type dataPtr_Type
 

Constructors & Destructor

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

Set Methods

virtual void setData (const dataPtr_Type &data)
 Set data for boundary conditions. More...
 

Unimplemented Methods

 BCInterfaceFunctionParserFileSolver (const BCInterfaceFunctionParserFileSolver &function)
 
BCInterfaceFunctionParserFileSolveroperator= (const BCInterfaceFunctionParserFileSolver &function)
 

Additional Inherited Members

- Public Types inherited from BCInterfaceFunctionParserFile< BcHandlerType, PhysicalSolverType >
typedef BcHandlerType bcHandler_Type
 
typedef PhysicalSolverType physicalSolver_Type
 
typedef BCInterfaceFunction< bcHandler_Type, physicalSolver_Typefunction_Type
 
typedef BCInterfaceFunctionParser< bcHandler_Type, physicalSolver_TypefunctionParser_Type
 
typedef function_Type::data_Type data_Type
 
typedef function_Type::dataPtr_Type dataPtr_Type
 
- Public Types inherited from BCInterfaceFunctionParser< BcHandlerType, PhysicalSolverType >
typedef BcHandlerType bcHandler_Type
 
typedef PhysicalSolverType physicalSolver_Type
 
typedef BCInterfaceFunction< bcHandler_Type, physicalSolver_Typefunction_Type
 
typedef function_Type::boundaryFunctionTime_Type boundaryFunctionTime_Type
 
typedef function_Type::boundaryFunctionTimeTimeStep_Type boundaryFunctionTimeTimeStep_Type
 
typedef function_Type::boundaryFunctionTimeSpaceID_Type boundaryFunctionTimeSpaceID_Type
 
typedef Parser parser_Type
 
typedef std::shared_ptr< parser_TypeparserPtr_Type
 
typedef function_Type::data_Type data_Type
 
typedef function_Type::dataPtr_Type dataPtr_Type
 
typedef function_Type::bcBase_Type bcBase_Type
 
- Public Types inherited from BCInterfaceFunction< BcHandlerType, PhysicalSolverType >
typedef BcHandlerType bcHandler_Type
 
typedef PhysicalSolverType physicalSolver_Type
 
typedef bcHandler_Type::bcFunction_Type bcBase_Type
 
typedef BCInterfaceData data_Type
 
typedef std::shared_ptr< data_TypedataPtr_Type
 
typedef std::function< Real(const Real &) > boundaryFunctionTime_Type
 
typedef std::function< Real(const Real &, const Real &) > boundaryFunctionTimeTimeStep_Type
 
typedef std::function< Real(const Real &, const Real &, const Real &, const Real &, const ID &) > boundaryFunctionTimeSpaceID_Type
 
- Public Types inherited from BCInterfaceFunctionParserSolver< BcHandlerType, PhysicalSolverType >
typedef BcHandlerType bcHandler_Type
 
typedef PhysicalSolverType physicalSolver_Type
 
typedef std::shared_ptr< physicalSolver_TypephysicalSolverPtr_Type
 
typedef BCInterfaceFunction< bcHandler_Type, physicalSolver_Typefunction_Type
 
typedef BCInterfaceFunctionParser< bcHandler_Type, physicalSolver_TypefunctionParser_Type
 
typedef PhysicalSolverType::solutionPtr_Type solutionPtr_Type
 
typedef function_Type::data_Type data_Type
 
typedef function_Type::dataPtr_Type dataPtr_Type
 
- Public Member Functions inherited from BCInterfaceFunctionParserFile< BcHandlerType, PhysicalSolverType >
 BCInterfaceFunctionParserFile ()
 Empty Constructor. More...
 
virtual ~BCInterfaceFunctionParserFile ()
 Destructor. More...
 
- Public Member Functions inherited from BCInterfaceFunctionParser< BcHandlerType, PhysicalSolverType >
template<>
void assignFunction (bcBase_Type &base)
 Assign the function to the base of the BCHandler. More...
 
template<>
void setData (const std::shared_ptr< BCInterfaceData > &data)
 
template<>
void assignFunction (bcBase_Type &base)
 Assign the function to the base of the BCHandler. More...
 
template<>
void setData (const std::shared_ptr< BCInterfaceData > &data)
 
template<>
void assignFunction (bcBase_Type &base)
 Assign the function to the base of the BCHandler. More...
 
template<>
void setData (const std::shared_ptr< BCInterfaceData > &data)
 
template<>
void assignFunction (bcBase_Type &base)
 Assign the function to the base of the BCHandler. More...
 
template<>
void setData (const std::shared_ptr< BCInterfaceData > &data)
 
template<>
void assignFunction (bcBase_Type &base)
 Assign the function to the base of the BCHandler. More...
 
template<>
void setData (const std::shared_ptr< BCInterfaceData > &data)
 
template<>
void assignFunction (bcBase_Type &base)
 Assign the function to the base of the BCHandler. More...
 
template<>
void setData (const std::shared_ptr< BCInterfaceData > &data)
 
template<>
void assignFunction (bcBase_Type &base)
 Assign the function to the base of the BCHandler. More...
 
template<>
void assignFunction (bcBase_Type &base)
 Assign the function to the base of the BCHandler. More...
 
template<>
void setData (const std::shared_ptr< BCInterfaceData > &data)
 
template<>
void setData (const std::shared_ptr< BCInterfaceData > &data)
 
template<>
void assignFunction (bcBase_Type &base)
 Assign the function to the base of the BCHandler. More...
 
template<>
void assignFunction (bcBase_Type &base)
 Assign the function to the base of the BCHandler. More...
 
template<>
void setData (const std::shared_ptr< BCInterfaceData > &data)
 
template<>
void setData (const std::shared_ptr< BCInterfaceData > &data)
 
template<>
void assignFunction (bcBase_Type &base)
 Assign the function to the base of the BCHandler. More...
 
template<>
void setData (const std::shared_ptr< BCInterfaceData > &data)
 
template<>
void assignFunction (bcBase_Type &base)
 Assign the function to the base of the BCHandler. More...
 
template<>
void setData (const std::shared_ptr< BCInterfaceData > &data)
 
template<>
void assignFunction (bcBase_Type &base)
 Assign the function to the base of the BCHandler. More...
 
template<>
void setData (const std::shared_ptr< BCInterfaceData > &data)
 
template<>
void assignFunction (bcBase_Type &base)
 Assign the function to the base of the BCHandler. More...
 
template<>
void setData (const std::shared_ptr< BCInterfaceData > &data)
 
 BCInterfaceFunctionParser ()
 Empty Constructor. More...
 
virtual ~BCInterfaceFunctionParser ()
 Destructor. More...
 
void assignFunction (bcBase_Type &base)
 Assign the function to the base of the BCHandler. More...
 
Real functionTime (const Real &t)
 Function of time. More...
 
Real functionTimeTimeStep (const Real &t, const Real &timeStep)
 Function of time and time step. More...
 
Real functionTimeSpace (const Real &t, const Real &x, const Real &y, const Real &z, const ID &)
 Function of time and space. More...
 
Real functionTimeSpaceID (const Real &t, const Real &x, const Real &y, const Real &z, const ID &id)
 Function of time and space with ID. More...
 
- Public Member Functions inherited from BCInterfaceFunction< BcHandlerType, PhysicalSolverType >
 BCInterfaceFunction ()
 Empty Constructor. More...
 
virtual ~BCInterfaceFunction ()
 Destructor. More...
 
- Public Member Functions inherited from BCInterfaceFunctionParserSolver< BcHandlerType, PhysicalSolverType >
template<>
void updatePhysicalSolverVariables ()
 
template<>
void updatePhysicalSolverVariables ()
 
template<>
void updatePhysicalSolverVariables ()
 
template<>
void updatePhysicalSolverVariables ()
 
template<>
void updatePhysicalSolverVariables ()
 
template<>
void updatePhysicalSolverVariables ()
 
template<>
void updatePhysicalSolverVariables ()
 
template<>
void updatePhysicalSolverVariables ()
 
template<>
void updatePhysicalSolverVariables ()
 
template<>
void updatePhysicalSolverVariables ()
 
template<>
void updatePhysicalSolverVariables ()
 
template<>
void updatePhysicalSolverVariables ()
 
 BCInterfaceFunctionParserSolver ()
 Constructor. More...
 
virtual ~BCInterfaceFunctionParserSolver ()
 Destructor. More...
 
void updatePhysicalSolverVariables ()
 Update the solver variables. More...
 
void setPhysicalSolver (const physicalSolverPtr_Type &physicalSolver)
 Set the physical solver. More...
 
void setSolution (const solutionPtr_Type &solution)
 Set solution. More...
 
void setVariable (const std::string &name, const Real &value)
 Set variable function. More...
 
- Protected Types inherited from BCInterfaceFunctionParserSolver< BcHandlerType, PhysicalSolverType >
enum  physicalSolverList {
  f_timeStep, f_area, f_flux, f_density,
  f_pressure, f_viscosity, f_venousPressure, s_density,
  s_poisson, s_thickness, s_young, s_externalPressure
}
 
- Protected Member Functions inherited from BCInterfaceFunctionParser< BcHandlerType, PhysicalSolverType >
- Protected Member Functions inherited from BCInterfaceFunctionParserSolver< BcHandlerType, PhysicalSolverType >
template<>
void createAccessList (const std::shared_ptr< BCInterfaceData > &data)
 
template<>
void createAccessList (const std::shared_ptr< BCInterfaceData > &data)
 
template<>
void createAccessList (const std::shared_ptr< BCInterfaceData > &data)
 
template<>
void createAccessList (const std::shared_ptr< BCInterfaceData > &data)
 
template<>
void createAccessList (const std::shared_ptr< BCInterfaceData > &data)
 
template<>
void createAccessList (const std::shared_ptr< BCInterfaceData > &data)
 
template<>
void createAccessList (const std::shared_ptr< BCInterfaceData > &data)
 
template<>
void createAccessList (const std::shared_ptr< BCInterfaceData > &data)
 
template<>
void createAccessList (const std::shared_ptr< BCInterfaceData > &data)
 
template<>
void createAccessList (const std::shared_ptr< BCInterfaceData > &data)
 
template<>
void createAccessList (const std::shared_ptr< BCInterfaceData > &data)
 
template<>
void createAccessList (const std::shared_ptr< BCInterfaceData > &data)
 
void createAccessList (const dataPtr_Type &)
 Create the list of variables for the physical solver. More...
 
- Protected Attributes inherited from BCInterfaceFunctionParser< BcHandlerType, PhysicalSolverType >
parserPtr_Type M_parser
 
- Protected Attributes inherited from BCInterfaceFunctionParserSolver< BcHandlerType, PhysicalSolverType >
physicalSolverPtr_Type M_physicalSolver
 
solutionPtr_Type M_solution
 
ID M_boundaryID
 
std::set< physicalSolverListM_list
 

Detailed Description

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

BCInterfaceFunctionParserFileSolver - LifeV boundary condition function file wrapper for BCInterface.

Author
Cristiano Malossi

This class is an interface between the BCInterface, the Parser, and and a general LifeV physical solver (such as OseenSolver or FSISolver). It allows to construct LifeV functions type for boundary conditions, using a GetPot file containing a function string and a table of discrete data (for example a discrete Flux or Pressure depending on time). The function string can contain physical solver parameters.

See BCInterfaceFunctionParser, BCInterfaceFunctionParserFile, and BCInterfaceFunctionParserSolver classes for more details.

Definition at line 59 of file BCInterfaceFunctionParserFileSolver.hpp.

Member Typedef Documentation

◆ bcHandler_Type

typedef BcHandlerType bcHandler_Type

Definition at line 67 of file BCInterfaceFunctionParserFileSolver.hpp.

◆ physicalSolver_Type

typedef PhysicalSolverType physicalSolver_Type

Definition at line 68 of file BCInterfaceFunctionParserFileSolver.hpp.

◆ function_Type

◆ functionParser_Type

◆ functionParserFile_Type

◆ functionParserSolver_Type

◆ data_Type

◆ dataPtr_Type

Constructor & Destructor Documentation

◆ BCInterfaceFunctionParserFileSolver() [1/2]

Constructor.

Definition at line 131 of file BCInterfaceFunctionParserFileSolver.hpp.

◆ ~BCInterfaceFunctionParserFileSolver()

virtual ~BCInterfaceFunctionParserFileSolver ( )
inlinevirtual

Destructor.

Definition at line 88 of file BCInterfaceFunctionParserFileSolver.hpp.

◆ BCInterfaceFunctionParserFileSolver() [2/2]

BCInterfaceFunctionParserFileSolver ( const BCInterfaceFunctionParserFileSolver< BcHandlerType, PhysicalSolverType > &  function)
private

Member Function Documentation

◆ setData()

void setData ( const dataPtr_Type data)
virtual

Set data for boundary conditions.

Parameters
databoundary condition data loaded from GetPot file

Reimplemented from BCInterfaceFunctionParserFile< BcHandlerType, PhysicalSolverType >.

Definition at line 146 of file BCInterfaceFunctionParserFileSolver.hpp.

◆ operator=()

BCInterfaceFunctionParserFileSolver& operator= ( const BCInterfaceFunctionParserFileSolver< BcHandlerType, PhysicalSolverType > &  function)
private

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