MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
module-mds.cc File Reference
#include "mbconfig.h"
#include <iostream>
#include <cfloat>
#include "dataman.h"
#include "userelem.h"
Include dependency graph for module-mds.cc:

Go to the source code of this file.

Classes

class  ModuleMDS
 

Functions

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 325 of file module-mds.cc.

References SetUDE().

326 {
328 
329  if (!SetUDE("mds", rf)) {
330  delete rf;
331 
332  silent_cerr("module-mds: "
333  "module_init(" << module_name << ") "
334  "failed" << std::endl);
335 
336  return -1;
337  }
338 
339  return 0;
340 }
bool SetUDE(const std::string &s, UserDefinedElemRead *rude)
Definition: userelem.cc:97

Here is the call graph for this function: