43 #define PI 3.14159265359
52 evaluationOfF
[ 0
] = 1.0;
53 evaluationOfF
[ 1
] = 1.0;
54 evaluationOfF
[ 2
] = 1.0;
79 return 0.088002 * ( x + 0.5 );
82 return - ( 0.02068 * 2.0 ) * ( y );
85 return - ( 0.02068 * 2.0 ) * ( z );
88 ERROR_MSG (
"This entry is not allowed: ud_functions.hpp");
110 ERROR_MSG (
"This entrie is not allowed: ud_functions.hpp");
131 ERROR_MSG (
"This entrie is not allowed: ud_functions.hpp");
146 return 5.313710193277322e+03;
186 return -0.046537410754408 * ( x + 0.5 );
192 return -0.046537410754408 * ( z + 0.5 );
195 ERROR_MSG (
"This entrie is not allowed: ud_functions.hpp");
216 return std::sin( 0.8723155 );
219 return std::cos( 0.8723155 );
225 ERROR_MSG (
"This entrie is not allowed: ud_functions.hpp");
237 return std::sin( - 0.8723155 );
240 return std::cos( - 0.8723155 );
246 ERROR_MSG (
"This entrie is not allowed: ud_functions.hpp");
267 ERROR_MSG (
"This entrie is not allowed: ud_functions.hpp");
289 ERROR_MSG (
"This entrie is not allowed: ud_functions.hpp");
311 ERROR_MSG (
"This entrie is not allowed: ud_functions.hpp");
332 ERROR_MSG (
"This entrie is not allowed: ud_functions.hpp");
339 fibersDirectionList::fibersDirectionList() :
340 M_mapNameDefinition( )
343 fibersDirectionList::~fibersDirectionList()
346 void fibersDirectionList::setupFiberDefinitions(
const UInt nbFamilies )
352 ASSERT( nbFamilies < 6,
"At the moment, a maximum number = 6 of families can be used! If you want more \n modifiy the file ud_functions.hpp in the application folder." );
355 fiberFunctionPtr_Type pointerToFunction(
new fiberFunction_Type( Family1 ) );
356 M_mapNameDefinition.insert( std::pair<std::string, fiberFunctionPtr_Type>
357 (
"Family1", pointerToFunction ) );
359 pointerToFunction.reset(
new fiberFunction_Type( Family2 ) );
360 M_mapNameDefinition.insert( std::pair<std::string, fiberFunctionPtr_Type>
361 (
"Family2", pointerToFunction ) );
363 pointerToFunction.reset(
new fiberFunction_Type( Family3 ) );
364 M_mapNameDefinition.insert( std::pair<std::string, fiberFunctionPtr_Type>
365 (
"Family3", pointerToFunction ) );
367 pointerToFunction.reset(
new fiberFunction_Type( Family4 ) );
368 M_mapNameDefinition.insert( std::pair<std::string, fiberFunctionPtr_Type>
369 (
"Family4", pointerToFunction ) );
371 pointerToFunction.reset(
new fiberFunction_Type( Family5 ) );
372 M_mapNameDefinition.insert( std::pair<std::string, fiberFunctionPtr_Type>
373 (
"Family5", pointerToFunction ) );
375 pointerToFunction.reset(
new fiberFunction_Type( Family6 ) );
376 M_mapNameDefinition.insert( std::pair<std::string, fiberFunctionPtr_Type>
377 (
"Family6", pointerToFunction ) );
382 fibersDirectionList::fiberFunctionPtr_Type fibersDirectionList::fiberDefinition(
const std::string nameFamily )
385 mapNameDefinitionFiberFunction_Type::const_iterator IT;
387 IT = M_mapNameDefinition.find ( nameFamily );
389 if ( IT != M_mapNameDefinition.end() )
395 std::cout <<
" Wrong identification of the fiber function! " << std::endl;
396 fiberFunctionPtr_Type pointerToFunction(
new fiberFunction_Type() );
398 return pointerToFunction;
Real d0(const Real &t, const Real &x, const Real &y, const Real &z, const ID &i)
void updateInverseJacobian(const UInt &iQuadPt)
Real w0(const Real &t, const Real &x, const Real &y, const Real &z, const ID &i)
Real & operator[](UInt const &i)
Operator [].
double Real
Generic real data.
uint32_type UInt
generic unsigned integer (used mainly for addressing)