LifeV
|
BCInterfaceFunctionParserSolver - LifeV boundary condition function file wrapper for BCInterface
.
More...
#include <BCInterfaceFunctionParserSolver.hpp>
Public Member Functions | |
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 () |
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... | |
Protected Types | |
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 | |
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) |
Protected Member Functions inherited from BCInterfaceFunctionParser< BcHandlerType, PhysicalSolverType > | |
virtual void | dataInterpolation () |
dataInterpolation More... | |
Protected Attributes | |
physicalSolverPtr_Type | M_physicalSolver |
solutionPtr_Type | M_solution |
ID | M_boundaryID |
std::set< physicalSolverList > | M_list |
Protected Attributes inherited from BCInterfaceFunctionParser< BcHandlerType, PhysicalSolverType > | |
parserPtr_Type | M_parser |
Type definitions | |
typedef BcHandlerType | bcHandler_Type |
typedef PhysicalSolverType | physicalSolver_Type |
typedef std::shared_ptr< physicalSolver_Type > | physicalSolverPtr_Type |
typedef BCInterfaceFunction< bcHandler_Type, physicalSolver_Type > | function_Type |
typedef BCInterfaceFunctionParser< bcHandler_Type, physicalSolver_Type > | functionParser_Type |
typedef PhysicalSolverType::solutionPtr_Type | solutionPtr_Type |
typedef function_Type::data_Type | data_Type |
typedef function_Type::dataPtr_Type | dataPtr_Type |
Constructors & Destructor | |
BCInterfaceFunctionParserSolver () | |
Constructor. More... | |
virtual | ~BCInterfaceFunctionParserSolver () |
Destructor. More... | |
Methods | |
void | updatePhysicalSolverVariables () |
Update the solver variables. More... | |
Set Methods | |
virtual void | setData (const dataPtr_Type &data) |
Set data for boundary conditions. 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 Methods | |
void | createAccessList (const dataPtr_Type &) |
Create the list of variables for the physical solver. More... | |
Unimplemented Methods | |
BCInterfaceFunctionParserSolver (const BCInterfaceFunctionParserSolver &function) | |
BCInterfaceFunctionParserSolver & | operator= (const BCInterfaceFunctionParserSolver &function) |
Private Methods | |
void | createFluidMap (std::map< std::string, physicalSolverList > &mapList) |
void | createSolidMap (std::map< std::string, physicalSolverList > &mapList) |
void | createList (const std::map< std::string, physicalSolverList > &mapList, const dataPtr_Type &data) |
void | switchErrorMessage (const std::string &operatorType) |
BCInterfaceFunctionParserSolver - LifeV boundary condition function file wrapper for BCInterface
.
This class is an interface between the BCInterface
, the Parser
, and a general LifeV physical solver (such as OseenSolver
or FSISolver
). It allows to construct LifeV function types for boundary conditions, using a functions string loaded from a GetPot
file in which are present some physical solver parameters.
The class can be used in two ways:
createAccessList()
and updatePhysicalSolverVariables()
; setVariable()
method. See BCInterfaceFunctionParser
class for more details.
AVAILABLE VARIABLES
Current available variables are:
Of course, some of those variables are available only for fluid problems, other only for solid problems.
Definition at line 85 of file BCInterfaceFunctionParserSolver.hpp.
typedef BcHandlerType bcHandler_Type |
Definition at line 92 of file BCInterfaceFunctionParserSolver.hpp.
typedef PhysicalSolverType physicalSolver_Type |
Definition at line 93 of file BCInterfaceFunctionParserSolver.hpp.
typedef std::shared_ptr< physicalSolver_Type > physicalSolverPtr_Type |
Definition at line 95 of file BCInterfaceFunctionParserSolver.hpp.
Definition at line 96 of file BCInterfaceFunctionParserSolver.hpp.
Definition at line 97 of file BCInterfaceFunctionParserSolver.hpp.
typedef PhysicalSolverType::solutionPtr_Type solutionPtr_Type |
Definition at line 98 of file BCInterfaceFunctionParserSolver.hpp.
typedef function_Type::data_Type data_Type |
Definition at line 100 of file BCInterfaceFunctionParserSolver.hpp.
Definition at line 101 of file BCInterfaceFunctionParserSolver.hpp.
|
protected |
Enumerator | |
---|---|
f_timeStep | |
f_area | |
f_flux | |
f_density | |
f_pressure | |
f_viscosity | |
f_venousPressure | |
s_density | |
s_poisson | |
s_thickness | |
s_young | |
s_externalPressure |
Definition at line 189 of file BCInterfaceFunctionParserSolver.hpp.
|
explicit |
Constructor.
Definition at line 253 of file BCInterfaceFunctionParserSolver.hpp.
|
inlinevirtual |
Destructor.
Definition at line 113 of file BCInterfaceFunctionParserSolver.hpp.
|
private |
|
inline |
Update the solver variables.
NOTE: A template specialization of this method should be provided for each solver.
Definition at line 125 of file BCInterfaceFunctionParserSolver.hpp.
|
virtual |
Set data for boundary conditions.
data | BC data loaded from GetPot file |
Reimplemented from BCInterfaceFunctionParser< BcHandlerType, PhysicalSolverType >.
Reimplemented in BCInterfaceFunctionParserFileSolver< BcHandlerType, PhysicalSolverType >.
Definition at line 275 of file BCInterfaceFunctionParserSolver.hpp.
|
inline |
Set the physical solver.
physicalSolver | physical solver |
Definition at line 146 of file BCInterfaceFunctionParserSolver.hpp.
|
inline |
Set solution.
solution | The solution container of the 1D problem |
Definition at line 155 of file BCInterfaceFunctionParserSolver.hpp.
|
inline |
Set variable function.
name | name of the variable |
value | value of the variable |
Definition at line 165 of file BCInterfaceFunctionParserSolver.hpp.
|
inlineprotected |
Create the list of variables for the physical solver.
NOTE: A template specialization of this method should be provided for each solver.
Definition at line 181 of file BCInterfaceFunctionParserSolver.hpp.
|
private |
|
inlineprivate |
Definition at line 296 of file BCInterfaceFunctionParserSolver.hpp.
|
inlineprivate |
Definition at line 309 of file BCInterfaceFunctionParserSolver.hpp.
|
inlineprivate |
Definition at line 320 of file BCInterfaceFunctionParserSolver.hpp.
|
inlineprivate |
Definition at line 230 of file BCInterfaceFunctionParserSolver.hpp.
void updatePhysicalSolverVariables | ( | ) |
Definition at line 48 of file BCInterfaceFunctionParserSolver0D.cpp.
|
protected |
Definition at line 93 of file BCInterfaceFunctionParserSolver0D.cpp.
void updatePhysicalSolverVariables | ( | ) |
|
protected |
void updatePhysicalSolverVariables | ( | ) |
Definition at line 48 of file BCInterfaceFunctionParserSolver1D.cpp.
|
protected |
Definition at line 191 of file BCInterfaceFunctionParserSolver1D.cpp.
void updatePhysicalSolverVariables | ( | ) |
|
protected |
void updatePhysicalSolverVariables | ( | ) |
Definition at line 48 of file BCInterfaceFunctionParserSolverFluid3D.cpp.
void updatePhysicalSolverVariables | ( | ) |
Definition at line 126 of file BCInterfaceFunctionParserSolverFluid3D.cpp.
|
protected |
Definition at line 209 of file BCInterfaceFunctionParserSolverFluid3D.cpp.
|
protected |
Definition at line 229 of file BCInterfaceFunctionParserSolverFluid3D.cpp.
void updatePhysicalSolverVariables | ( | ) |
void updatePhysicalSolverVariables | ( | ) |
|
protected |
|
protected |
void updatePhysicalSolverVariables | ( | ) |
Definition at line 48 of file BCInterfaceFunctionParserSolverFSI3D.cpp.
|
protected |
Definition at line 192 of file BCInterfaceFunctionParserSolverFSI3D.cpp.
void updatePhysicalSolverVariables | ( | ) |
|
protected |
void updatePhysicalSolverVariables | ( | ) |
Definition at line 48 of file BCInterfaceFunctionParserSolverSolid3D.cpp.
|
protected |
Definition at line 125 of file BCInterfaceFunctionParserSolverSolid3D.cpp.
void updatePhysicalSolverVariables | ( | ) |
|
protected |
|
protected |
Definition at line 205 of file BCInterfaceFunctionParserSolver.hpp.
|
protected |
Definition at line 206 of file BCInterfaceFunctionParserSolver.hpp.
|
protected |
Definition at line 208 of file BCInterfaceFunctionParserSolver.hpp.
|
protected |
Definition at line 209 of file BCInterfaceFunctionParserSolver.hpp.