MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
module-autodiff_test.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool autodiff_test_set (void)
 

Function Documentation

bool autodiff_test_set ( void  )

Definition at line 1552 of file module-autodiff_test.cc.

References SetUDE().

Referenced by module_init().

1553 {
1554 #ifdef USE_AUTODIFF
1556 
1557  if (!SetUDE("deformable" "joint" "ad", rf))
1558  {
1559  delete rf;
1560  return false;
1561  }
1562 
1563  rf = new UDERead<InlineJointAD>;
1564 
1565  if (!SetUDE("inline" "joint" "ad", rf))
1566  {
1567  delete rf;
1568  return false;
1569  }
1570 
1571  return true;
1572 #else
1573  return false;
1574 #endif
1575 }
bool SetUDE(const std::string &s, UserDefinedElemRead *rude)
Definition: userelem.cc:97

Here is the call graph for this function: