38 #include <lifev/bc_interface/3D/function/fluid/BCInterfaceFunctionParserFluid3D.hpp> 50 base.setFunction ( functionSelectorTimeSpaceID() );
57 base.setFunction ( functionSelectorTimeSpaceID() );
68 #ifdef HAVE_LIFEV_DEBUG 69 debugStream ( 5022 ) <<
"BCInterfaceFunction::setData" <<
"\n";
74 std::shared_ptr< BCInterfaceData3D > castedData = std::dynamic_pointer_cast< BCInterfaceData3D > ( data );
76 if ( castedData != 0 )
91 #ifdef HAVE_LIFEV_DEBUG 92 debugStream ( 5021 ) <<
"BCInterfaceFunction::setData arguments: " << M_parser->countSubstring (
"," ) <<
"\n";
96 if ( M_parser->countSubstring (
"," ) )
99 if ( castedData->componentsVector().size() > 1 )
100 for ( ID i ( 0 ); i <
static_cast< ID > ( castedData->componentsVector().size() ); ++i )
102 M_mapID[castedData->componentsVector() [i]] = i + 1;
106 for ( ID i ( 0 ); i < castedData->componentsVector().front(); ++i )
108 M_mapID[i + 1] = i + 1;
114 std::cerr <<
"!!! ERROR: BCInterface wrong data cast !!!" << std::endl;
123 #ifdef HAVE_LIFEV_DEBUG 124 debugStream ( 5022 ) <<
"BCInterfaceFunction::setData" <<
"\n";
127 setupParser ( data );
129 std::shared_ptr< BCInterfaceData3D > castedData = std::dynamic_pointer_cast< BCInterfaceData3D > ( data );
131 if ( castedData != 0 )
146 #ifdef HAVE_LIFEV_DEBUG 147 debugStream ( 5021 ) <<
"BCInterfaceFunction::setData arguments: " << M_parser->countSubstring (
"," ) <<
"\n";
151 if ( M_parser->countSubstring (
"," ) )
154 if ( castedData->componentsVector().size() > 1 )
155 for ( ID i ( 0 ); i <
static_cast< ID > ( castedData->componentsVector().size() ); ++i )
157 M_mapID[castedData->componentsVector() [i]] = i + 1;
161 for ( ID i ( 0 ); i < castedData->componentsVector().front(); ++i )
163 M_mapID[i + 1] = i + 1;
169 std::cerr <<
"!!! ERROR: BCInterface wrong data cast !!!" << std::endl;
void assignFunction(bcBase_Type &base)
Assign the function to the base of the BCHandler.
void setData(const std::shared_ptr< BCInterfaceData > &data)
void updateInverseJacobian(const UInt &iQuadPt)