MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
module-damper-graall.cc File Reference
#include "mbconfig.h"
#include <cmath>
#include <cfloat>
#include <fstream>
#include "dataman.h"
#include "drive_.h"
#include "constltp.h"
Include dependency graph for module-damper-graall.cc:

Go to the source code of this file.

Classes

class  GRAALLDamperConstitutiveLaw
 
struct  GRAALLDamperCLR
 

Functions

int __FC_DECL__() dmpfr (doublereal *DL, doublereal *DLDT, doublereal *V, doublereal *TBDMR, doublereal *TBDMA, doublereal *TBCVR, doublereal *TBCVA, doublereal *VETVIS, integer *NPDMR, integer *NPDMA, integer *NPCVR, integer *NPCVA, integer *NPVT, doublereal *FTOT, doublereal *FVISDL, doublereal *FELDL)
 
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 __FC_DECL__() dmpfr ( doublereal DL,
doublereal DLDT,
doublereal V,
doublereal TBDMR,
doublereal TBDMA,
doublereal TBCVR,
doublereal TBCVA,
doublereal VETVIS,
integer NPDMR,
integer NPDMA,
integer NPCVR,
integer NPCVA,
integer NPVT,
doublereal FTOT,
doublereal FVISDL,
doublereal FELDL 
)
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 447 of file module-damper-graall.cc.

References pHP, and SetCL1D().

448 {
449 #if 0
450  DataManager *pDM = (DataManager *)pdm;
451  MBDynParser *pHP = (MBDynParser *)php;
452 #endif
453 
455  = new GRAALLDamperCLR;
456  if (!SetCL1D("GRAALL" "damper", rf1D)) {
457  delete rf1D;
458 
459  silent_cerr("GRAALLDamperConstitutiveLaw: "
460  "module_init(" << module_name << ") "
461  "failed" << std::endl);
462 
463  return -1;
464  }
465 
466  return 0;
467 }
bool SetCL1D(const char *name, ConstitutiveLawRead< doublereal, doublereal > *rf)
static std::stack< const HighParser * > pHP
Definition: parser.cc:598

Here is the call graph for this function: