Functions | Variables
ACADOintegrators.cpp File Reference
#include <acado_integrators.hpp>
#include <acado/utils/matlab_acado_utils.hpp>
#include "model_include.hpp"
Include dependency graph for ACADOintegrators.cpp:

Go to the source code of this file.

Functions

DifferentialEquationallocateDifferentialEquation (char *modelName, char *integratorName)
IntegratorallocateIntegrator (char *integratorName, DifferentialEquation *f)
void clearAllGlobals ()
unsigned int determineNumberOfAlgebraicStates ()
void genericDAE (double *x, double *f, void *userData)
void genericJacobian (int number, double *x, double *seed, double *f, double *df, void *userData)
void genericODE (double *x, double *f, void *userData)
void mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
void plotErrorMessage (returnValue returnvalue, double *PrintLevel_)

Variables

double * f_store = NULL
double * J_store = NULL
unsigned int jacobianNumber = -1
DifferentialEquationmodelFcn = NULL
USING_NAMESPACE_ACADO mxArray * ModelFcn_f = NULL
mxArray * ModelFcn_jac = NULL
mxArray * ModelFcnDX = NULL
unsigned int modelFcnNDX = 0
unsigned int modelFcnNP = 0
unsigned int modelFcnNU = 0
unsigned int modelFcnNW = 0
unsigned int modelFcnNX = 0
unsigned int modelFcnNXA = 0
mxArray * ModelFcnP = NULL
mxArray * ModelFcnT = NULL
mxArray * ModelFcnU = NULL
mxArray * ModelFcnW = NULL
mxArray * ModelFcnX = NULL
mxArray * ModelFcnXA = NULL

Detailed Description

Author:
David Ariens, Boris Houska, Hans Joachim Ferreau, Niels Haverbeke
Date:
2009-2010

Definition in file ACADOintegrators.cpp.


Function Documentation

DifferentialEquation* allocateDifferentialEquation ( char *  modelName,
char *  integratorName 
)

Allocate differential equation, called in mexFunction()

Definition at line 420 of file ACADOintegrators.cpp.

Integrator* allocateIntegrator ( char *  integratorName,
DifferentialEquation f 
)

Allocate integrator, called in mexFunction()

Definition at line 457 of file ACADOintegrators.cpp.

void clearAllGlobals ( )

Definition at line 69 of file ACADOintegrators.cpp.

Definition at line 382 of file ACADOintegrators.cpp.

void genericDAE ( double *  x,
double *  f,
void *  userData 
)

Definition at line 335 of file ACADOintegrators.cpp.

void genericJacobian ( int  number,
double *  x,
double *  seed,
double *  f,
double *  df,
void *  userData 
)

Definition at line 201 of file ACADOintegrators.cpp.

void genericODE ( double *  x,
double *  f,
void *  userData 
)

Definition at line 160 of file ACADOintegrators.cpp.

void mexFunction ( int  nlhs,
mxArray *  plhs[],
int  nrhs,
const mxArray *  prhs[] 
)

mexFunction is not a routine you call. Rather, mexFunction is the name of a function in C (subroutine in Fortran) that you must write in every MEX-file. When you invoke a MEX-function, MATLAB software finds and loads the corresponding MEX-file of the same name. MATLAB then searches for a symbol named mexFunction within the MEX-file. If it finds one, it calls the MEX-function using the address of the mexFunction symbol. If MATLAB cannot find a routine named mexFunction inside the MEX-file, it issues an error message.

Parameters:
intnlhs Number of expected output mxArrays
mxArray*plhs[] Array of pointers to the expected output mxArrays
intnrhs Number of input mxArrays
mxArray*prhs[] Array of pointers to the input mxArrays. These mxArrays are read only and should not be modified by your MEX-file.

Definition at line 513 of file ACADOintegrators.cpp.

void plotErrorMessage ( returnValue  returnvalue,
double *  PrintLevel_ 
)

Definition at line 388 of file ACADOintegrators.cpp.


Variable Documentation

double* f_store = NULL

Definition at line 66 of file ACADOintegrators.cpp.

double* J_store = NULL

Definition at line 67 of file ACADOintegrators.cpp.

unsigned int jacobianNumber = -1

Definition at line 65 of file ACADOintegrators.cpp.

Definition at line 47 of file ACADOintegrators.cpp.

Definition at line 46 of file ACADOintegrators.cpp.

mxArray* ModelFcn_jac = NULL

Definition at line 48 of file ACADOintegrators.cpp.

mxArray* ModelFcnDX = NULL

Definition at line 56 of file ACADOintegrators.cpp.

unsigned int modelFcnNDX = 0

Definition at line 63 of file ACADOintegrators.cpp.

unsigned int modelFcnNP = 0

Definition at line 61 of file ACADOintegrators.cpp.

unsigned int modelFcnNU = 0

Definition at line 60 of file ACADOintegrators.cpp.

unsigned int modelFcnNW = 0

Definition at line 62 of file ACADOintegrators.cpp.

unsigned int modelFcnNX = 0

Definition at line 58 of file ACADOintegrators.cpp.

unsigned int modelFcnNXA = 0

Definition at line 59 of file ACADOintegrators.cpp.

mxArray* ModelFcnP = NULL

Definition at line 54 of file ACADOintegrators.cpp.

mxArray* ModelFcnT = NULL

Definition at line 50 of file ACADOintegrators.cpp.

mxArray* ModelFcnU = NULL

Definition at line 53 of file ACADOintegrators.cpp.

mxArray* ModelFcnW = NULL

Definition at line 55 of file ACADOintegrators.cpp.

mxArray* ModelFcnX = NULL

Definition at line 51 of file ACADOintegrators.cpp.

mxArray* ModelFcnXA = NULL

Definition at line 52 of file ACADOintegrators.cpp.



acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Thu Aug 27 2015 12:01:33