37 #include <lifev/bc_interface/3D/bc/BCInterfaceData3D.hpp> 61 M_mapType[
"Essential"] = Essential;
62 M_mapType[
"EssentialEdges"] = EssentialEdges;
63 M_mapType[
"EssentialVertices"] = EssentialVertices;
64 M_mapType[
"Natural"] = Natural;
65 M_mapType[
"Robin"] = Robin;
66 M_mapType[
"Flux"] = Flux;
67 M_mapType[
"Resistance"] = Resistance;
70 M_mapMode[
"Scalar"] = Scalar;
71 M_mapMode[
"Full"] = Full;
72 M_mapMode[
"Component"] = Component;
73 M_mapMode[
"Normal"] = Normal;
74 M_mapMode[
"Tangential"] = Tangential;
75 M_mapMode[
"Directional"] = Directional;
103 BCInterfaceData::operator= ( data );
104 M_baseRobinAlpha = data.M_baseRobinAlpha;
106 M_baseRobinBeta = data.M_baseRobinBeta;
108 M_baseDirectional = data.M_baseDirectional;
114 M_mapType = data.M_mapType;
115 M_mapMode = data.M_mapMode;
128 dataContainer_Type::readBC ( fileName, dataSection, name );
135 readFlag ( dataFile, ( dataSection + name +
"/flag" ).c_str() );
136 readType ( dataFile, ( dataSection + name +
"/type" ).c_str() );
137 readMode ( dataFile, ( dataSection + name +
"/mode" ).c_str() );
138 readComponentsVector ( dataFile, ( dataSection + name +
"/component" ).c_str() );
143 readBase ( dataFile, dataSection + name +
"/RobinAlpha/", M_baseRobinAlpha, M_baseStringRobinAlpha );
144 readBase ( dataFile, dataSection + name +
"/RobinBeta/", M_baseRobinBeta, M_baseStringRobinBeta );
148 readBase ( dataFile, dataSection + name +
"/Directional/", M_baseDirectional, M_baseStringDirectional );
156 dataContainer_Type::showMe ( output );
159 output <<
"Type = " << M_type << std::endl;
160 output <<
"Mode = " << M_mode << std::endl;
161 output <<
"Components Vector = ";
162 for ( UInt i (0); i <
static_cast<UInt> ( M_componentsVector.size() ); ++i )
164 output << M_componentsVector[i] <<
" ";
177 M_componentsVector.resize ( componentSize );
178 for (
UInt j ( 0 ); j < componentSize; ++j )
180 M_componentsVector[j] = dataFile ( component, 0, j );
std::string M_baseStringDirectional
BCInterfaceData - The BCInterface data container.
void readBC(const std::string &fileName, const std::string &dataSection, const std::string &name)
Read parameters for all kind of BC.
void updateInverseJacobian(const UInt &iQuadPt)
std::string M_baseStringRobinAlpha
bcComponentsVec_Type M_componentsVector
BCInterfaceData3D - The BCInterface3D data container.
BCInterfaceData3D()
Constructor.
void readComponentsVector(const GetPot &dataFile, const char *component)
void showMe(std::ostream &output=std::cout) const
Display general information about the content of the class.
std::string M_baseStringRobinBeta
BCInterfaceData3D(const BCInterfaceData3D &data)
Copy constructor.
GetPot(const STRING_VECTOR &FileNameList)
BCInterfaceData3D & operator=(const BCInterfaceData3D &data)
Operator =.
uint32_type UInt
generic unsigned integer (used mainly for addressing)
BCInterfaceData()
Constructor.
unsigned vector_variable_size(const char *VarName) const