37 #ifndef BCInterfaceData1D_H 38 #define BCInterfaceData1D_H 1
41 #include <lifev/one_d_fsi/fem/OneDFSIBCHandler.hpp> 44 #include <lifev/bc_interface/core/bc/BCInterfaceData.hpp> 109 void readBC (
const std::string& fileName,
const std::string& dataSection,
const std::string& name );
115 void showMe ( std::ostream& output = std::cout )
const;
210 M_boundaryID = ( M_mapSide[dataFile ( side,
"left" )] == OneDFSI::left ) ? 0 : 1;
215 M_line = M_mapLine[dataFile ( line,
"first" )];
220 M_quantity = M_mapQuantity[dataFile ( quantity,
"A" )];
void readLine(const GetPot &dataFile, const char *line)
BCInterfaceData - The BCInterface data container.
virtual ~BCInterfaceData1D()
Destructor.
void readQuantity(const GetPot &dataFile, const char *quantity)
std::map< std::string, OneDFSI::bcSide_Type > M_mapSide
void readCapacitance(const GetPot &dataFile, const char *capacitance)
void setLine(const OneDFSI::bcLine_Type &line)
Set the line of the boundary condition.
OneDFSI::bcLine_Type M_line
void updateInverseJacobian(const UInt &iQuadPt)
void setSide(const OneDFSI::bcSide_Type &side)
Set the side of the boundary condition.
std::vector< Real > resistanceContainer_Type
OneDFSI::bcType_Type M_quantity
BCInterfaceData1D(const BCInterfaceData1D &data)
Copy constructor.
const Real & capacitance() const
Get the capacitance.
void readBC(const std::string &fileName, const std::string &dataSection, const std::string &name)
Read parameters for all kind of BC.
void readSide(const GetPot &dataFile, const char *side)
BCInterfaceData1D - The BCInterface1D data container.
std::map< std::string, OneDFSI::bcLine_Type > M_mapLine
BCInterfaceData1D()
Constructor.
double Real
Generic real data.
void showMe(std::ostream &output=std::cout) const
Display general information about the content of the class.
resistanceContainer_Type M_resistance
std::map< std::string, OneDFSI::bcType_Type > M_mapQuantity
int operator()(const char *VarName, int Default) const
OneDFSI::bcSide_Type side() const
Get the flag of the boundary condition.
const resistanceContainer_Type & resistance() const
Get the resistance vector {R1, R2, R3 ...}.
BCInterfaceData1D & operator=(const BCInterfaceData1D &data)
Operator =.
void setQuantity(const OneDFSI::bcType_Type &quantity)
Set the quantity of the boundary condition.
BCInterfaceData dataContainer_Type
const OneDFSI::bcType_Type & quantity() const
Get the quantity of the boundary condition.
const OneDFSI::bcLine_Type & line() const
Get the mode of the boundary condition.
void readResistance(const GetPot &dataFile, const char *resistance)