37 #include <lifev/multiscale/couplings/MultiscaleCouplingBoundaryCondition.hpp> 54 #ifdef HAVE_LIFEV_DEBUG 55 debugStream ( 8210 ) <<
"MultiscaleCouplingBoundaryCondition::MultiscaleCouplingBoundaryCondition() \n";
68 #ifdef HAVE_LIFEV_DEBUG 69 debugStream ( 8210 ) <<
"MultiscaleCouplingBoundaryCondition::setupData() \n";
72 multiscaleCoupling_Type::setupData ( fileName );
74 if ( modelsNumber() > 0 )
76 M_fileName = fileName;
77 GetPot dataFile ( fileName );
80 M_listSize = dataFile.vector_variable_size (
"boundary_conditions/list" );
82 M_list.reserve ( M_listSize );
85 M_list.push_back ( dataFile (
"boundary_conditions/list",
" ", i ) );
94 #ifdef HAVE_LIFEV_DEBUG 95 debugStream ( 8210 ) <<
"MultiscaleCouplingBoundaryCondition::setupCouplingVariablesNumber() \n";
105 #ifdef HAVE_LIFEV_DEBUG 106 debugStream ( 8210 ) <<
"MultiscaleCouplingBoundaryCondition::setupCoupling() \n";
109 if ( myModelsNumber() > 0 )
112 for ( UInt i ( 0 ); i < modelsNumber(); ++i )
114 switch ( M_models[i]->type() )
116 #if defined(LIFEV_HAS_ZERODIMENSIONAL) 119 applyBoundaryConditions0D< MultiscaleModelWindkessel0D > ( i );
123 case ZeroDimensional:
125 applyBoundaryConditions0D< MultiscaleModel0D > ( i );
129 #if defined(LIFEV_HAS_ONEDFSI) 132 applyBoundaryConditions1D< MultiscaleModelFSI1D > ( i );
136 #if defined(LIFEV_HAS_NAVIERSTOKES) 139 applyBoundaryConditions3D< MultiscaleModelFluid3D > ( i );
143 #if defined(LIFEV_HAS_FSI) 146 applyBoundaryConditions3D< MultiscaleModelFSI3D > ( i );
152 switchErrorMessage ( M_models[i] );
void setupCouplingVariablesNumber()
Setup the coupling variables number.
MultiscaleCoupling multiscaleCoupling_Type
MultiscaleCoupling()
Constructor.
void updateInverseJacobian(const UInt &iQuadPt)
void setupData(const std::string &fileName)
Setup the data of the coupling.
UInt M_couplingVariablesNumber
MultiscaleCouplingBoundaryCondition()
Constructor.
MultiscaleCouplingBoundaryCondition - Coupling condition for standard boundary conditions.
void setupCoupling()
Setup the coupling.
uint32_type UInt
generic unsigned integer (used mainly for addressing)