MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
module-uni_in_plane.cc File Reference
#include <algorithm>
#include <cassert>
#include <cfloat>
#include <cmath>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <iomanip>
#include <sstream>
#include <limits>
#include <memory>
#include <vector>
#include <dataman.h>
#include <userelem.h>
#include <gradient.h>
#include <matvec.h>
#include <matvecass.h>
#include "module-uni_in_plane.h"
Include dependency graph for module-uni_in_plane.cc:

Go to the source code of this file.

Functions

bool uni_in_plane_set (void)
 
int module_init (const char *module_name, void *pdm, void *php)
 This function registers our user defined element for the math parser. More...
 

Function Documentation

int module_init ( const char *  module_name,
void *  pdm,
void *  php 
)

This function registers our user defined element for the math parser.

It is called when the "module load" statement appears in the input file.

Definition at line 1038 of file module-uni_in_plane.cc.

1039 {
1040  if (!unilateral_in_plane_friction_set())
1041  {
1042  silent_cerr("contact: "
1043  "module_init(" << module_name << ") "
1044  "failed" << std::endl);
1045 
1046  return -1;
1047  }
1048 
1049  return 0;
1050 }
bool uni_in_plane_set ( void  )

Definition at line 1013 of file module-uni_in_plane.cc.

References SetUDE().

1014 {
1015 #ifdef USE_AUTODIFF
1017 
1018  if (!SetUDE("unilateral" "in" "plane",rf))
1019  {
1020  delete rf;
1021  return false;
1022  }
1023 #endif
1024 
1025  return true;
1026 }
bool SetUDE(const std::string &s, UserDefinedElemRead *rude)
Definition: userelem.cc:97

Here is the call graph for this function: