#include <mbconfig.h>
Go to the source code of this file.
      
        
          | bool mbdyn_octave_set | ( | void |  | ) |  | 
      
 
Definition at line 5603 of file module-octave.cc.
References SetCL1D(), SetCL3D(), SetCL6D(), SetDC1D(), SetDC3D(), SetDC3x3D(), SetDC6D(), SetDC6x6D(), SetDriveCallerData(), SetSF(), and SetUDE().
Referenced by InitDriveCallerData(), and module_init().
 5606         using namespace oct;
 
 5614         OctaveTDCR<doublereal>* 
const rf1D = 
new OctaveTDCR<doublereal>;
 
 5615         if (!
SetDC1D(
"octave", rf1D)) {
 
 5620         OctaveTDCR<Vec3>* 
const rf3D = 
new OctaveTDCR<Vec3>;
 
 5621         if (!
SetDC3D(
"octave", rf3D)) {
 
 5626         OctaveTDCR<Vec6>* 
const rf6D = 
new OctaveTDCR<Vec6>;
 
 5627         if (!
SetDC6D(
"octave", rf6D)) {
 
 5632         OctaveTDCR<Mat3x3>* 
const rf3x3D = 
new OctaveTDCR<Mat3x3>;
 
 5638         OctaveTDCR<Mat6x6>* 
const rf6x6D = 
new OctaveTDCR<Mat6x6>;
 
 5644         rf = 
new DerivativeDCR;
 
 5651         if (!
SetSF(
"octave", rsf)) {
 
 5657         if (!
SetUDE(
"octave", urf)) {
 
 5663         if (!
SetCL1D(
"octave", rfcl1D)) {
 
 5669         if (!
SetCL3D(
"octave", rfcl3D)) {
 
 5675         if (!
SetCL6D(
"octave", rfcl6D)) {
 
 5680         pedantic_cerr(
"warning: MBDyn has been configured without octave support\n" 
 5681                                   "warning: module-octave is not available in this version of MBDyn" << std::endl);
 
bool SetDriveCallerData(const char *name, DriveCallerRead *rf)
bool SetDC3x3D(const char *name, TplDriveCallerRead< Mat3x3 > *rf)
bool SetDC6D(const char *name, TplDriveCallerRead< Vec6 > *rf)
bool SetDC3D(const char *name, TplDriveCallerRead< Vec3 > *rf)
bool SetDC1D(const char *name, TplDriveCallerRead< doublereal > *rf)
bool SetCL3D(const char *name, ConstitutiveLawRead< Vec3, Mat3x3 > *rf)
bool SetCL1D(const char *name, ConstitutiveLawRead< doublereal, doublereal > *rf)
bool SetCL6D(const char *name, ConstitutiveLawRead< Vec6, Mat6x6 > *rf)
bool SetSF(const std::string &s, const ScalarFunctionRead *rf)
bool SetUDE(const std::string &s, UserDefinedElemRead *rude)
bool SetDC6x6D(const char *name, TplDriveCallerRead< Mat6x6 > *rf)
 
 
 
      
        
          | 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 5692 of file module-octave.cc.
References mbdyn_octave_set().
 5695                 silent_cerr(
"octave: " 
 5696                         "module_init(" << module_name << 
") " 
 5697                         "failed" << std::endl);
 
bool mbdyn_octave_set(void)