37 #include <lifev/bc_interface/1D/bc/BCInterfaceData1D.hpp> 56 M_mapSide[
"left"] = OneDFSI::left;
57 M_mapSide[
"right"] = OneDFSI::right;
60 M_mapQuantity[
"A"] = OneDFSI::A;
61 M_mapQuantity[
"Q"] = OneDFSI::Q;
62 M_mapQuantity[
"W1"] = OneDFSI::W1;
63 M_mapQuantity[
"W2"] = OneDFSI::W2;
64 M_mapQuantity[
"P"] = OneDFSI::P;
65 M_mapQuantity[
"S"] = OneDFSI::S;
68 M_mapLine[
"first"] = OneDFSI::first;
69 M_mapLine[
"second"] = OneDFSI::second;
92 BCInterfaceData::operator= ( data );
97 M_mapSide = data.M_mapSide;
98 M_mapQuantity = data.M_mapQuantity;
99 M_mapLine = data.M_mapLine;
112 dataContainer_Type::readBC ( fileName, dataSection, name );
115 GetPot dataFile ( fileName );
117 readSide ( dataFile, ( dataSection + name +
"/side" ).c_str() );
118 readQuantity ( dataFile, ( dataSection + name +
"/quantity" ).c_str() );
119 readLine ( dataFile, ( dataSection + name +
"/line" ).c_str() );
120 readResistance ( dataFile, ( dataSection + name +
"/resistance" ).c_str() );
121 readCapacitance ( dataFile, ( dataSection + name +
"/capacitance" ).c_str() );
128 dataContainer_Type::showMe ( output );
131 output <<
"Line = " << M_line << std::endl;
132 output <<
"Quantity = " << M_quantity << std::endl;
133 output <<
"Resistance = ";
134 for ( UInt i (0); i <
static_cast<UInt> ( M_resistance.size() ); ++i )
136 output << M_resistance[i] <<
" ";
139 output <<
"Capacitance = " << M_capacitance << std::endl;
150 M_resistance.resize ( resistanceSize );
151 for (
UInt j ( 0 ); j < resistanceSize; ++j )
153 M_resistance[j] = dataFile ( resistance, 0, j );
BCInterfaceData - The BCInterface data container.
OneDFSI::bcLine_Type M_line
void updateInverseJacobian(const UInt &iQuadPt)
OneDFSI::bcType_Type M_quantity
BCInterfaceData1D(const BCInterfaceData1D &data)
Copy constructor.
void readBC(const std::string &fileName, const std::string &dataSection, const std::string &name)
Read parameters for all kind of BC.
BCInterfaceData1D - The BCInterface1D data container.
BCInterfaceData1D()
Constructor.
void showMe(std::ostream &output=std::cout) const
Display general information about the content of the class.
resistanceContainer_Type M_resistance
BCInterfaceData1D & operator=(const BCInterfaceData1D &data)
Operator =.
void readResistance(const GetPot &dataFile, const char *resistance)
uint32_type UInt
generic unsigned integer (used mainly for addressing)
BCInterfaceData()
Constructor.
unsigned vector_variable_size(const char *VarName) const