SDT-rotor Contents   Functions      PDF Index |
Purpose
chandle objects are used to streamline communication between mex and MATLAB in iterative processes.
Creation generates a C copy of the matlab array and returns a vhandle.chandle object containing the ID. Register the chandle object for mexAtExit.
DiagNewmark is an implementation of the Newmark scheme when assuming a fixed diagonal full Jacobian as occurs in modal domain transients (explict or implicit).
ExpNewmark is an implementation of the Newmark scheme when assuming a fixed diagonal mass matrix for large explicit dynamic problems.
Support for observation performed in C. .iopt for standard integer options.
.N field : Nunl, (c,1),(c,2),cTrans, (b,2),(b,1),bTrans, Nopt[8],Niopt[9],size(unl,3)[10] .opt field ? tc[1] dt0[2] K[3] Fmax[4] Fu functions currently implemented in C are listed under nl_inout fun
The header of the associated class is
// nl_inout non linearity 1003
class chandleNl_inout: public chandle {
public:
int *irc, *jcc,*irb, *jcb,*iopt;
double *prc,*pic,*prb,*pib,*unl,*vnl,*snl,*opt;
int N[11]; // Nunl, (c,1),(c,2),cTrans, (b,2),(b,1),bTrans, Nopt[7],Niopt[8],size(unl,3)[9]
__Fu Fu;// (*Fu)(chandleNl_inout*,struct _ROr);
mxArray* MexData[2];
chandleNl_inout();
~chandleNl_inout();
void Residual(struct _ROr ROr, double* fc);
void initCpt(); // Initialize pointers
void EndStep(); // propagate internal states using StoreType strategy
};
// Residual structure --------------------------------------------------------
struct _ROr {
int Nk,Nnl;
double RayleighM,RayleighK,tc;
double *u,*v,*a,*FNL;
};
// Default function handle
typedef void(*__Fu)(chandle* ph, struct _ROr ROr);