38 #include <lifev/bc_interface/3D/function/solid/BCInterfaceFunctionParserSolid3D.hpp> 50 base.setFunction ( functionSelectorTimeSpaceID() );
61 #ifdef HAVE_LIFEV_DEBUG 62 debugStream ( 5022 ) <<
"BCInterfaceFunction::setData" <<
"\n";
67 std::shared_ptr< BCInterfaceData3D > castedData = std::dynamic_pointer_cast< BCInterfaceData3D > ( data );
69 if ( castedData != 0 )
84 #ifdef HAVE_LIFEV_DEBUG 85 debugStream ( 5021 ) <<
"BCInterfaceFunction::setData arguments: " << M_parser->countSubstring (
"," ) <<
"\n";
89 if ( M_parser->countSubstring (
"," ) )
92 if ( castedData->componentsVector().size() > 1 )
93 for ( ID i ( 0 ); i <
static_cast< ID > ( castedData->componentsVector().size() ); ++i )
95 M_mapID[castedData->componentsVector() [i]] = i + 1;
99 for ( ID i ( 0 ); i < castedData->componentsVector().front(); ++i )
101 M_mapID[i + 1] = i + 1;
107 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 checkFunction(BCVectorInterface &base)