source: issm/trunk-jpl/src/mex/CostFunction/CostFunction.h@ 11933

Last change on this file since 11933 was 11933, checked in by Eric.Larour, 13 years ago

New FetchData and WriteData interface

File size: 743 bytes
RevLine 
[3170]1/*
2 CostFunction.h
3*/
4
5#ifndef _COSTFUNCTION_H
6#define _COSTFUNCTION_H
7
8/* local prototypes: */
9void CostFunctionUsage(void);
10
[11933]11#include "../../c/include/globals.h"
[3913]12#include "../../c/modules/modules.h"
[4236]13#include "../../c/Container/Container.h"
[3712]14#include "../../c/shared/shared.h"
[3170]15
16#undef __FUNCT__
17#define __FUNCT__ "CostFunction"
18
19/* serial input macros: */
20#define ELEMENTS (mxArray*)prhs[0]
21#define NODES (mxArray*)prhs[1]
[3445]22#define VERTICES (mxArray*)prhs[2]
23#define LOADS (mxArray*)prhs[3]
24#define MATERIALS (mxArray*)prhs[4]
25#define PARAMETERS (mxArray*)prhs[5]
[3170]26
27/* serial output macros: */
[3179]28#define COST (mxArray**)&plhs[0]
[3170]29
30/* serial arg counts: */
31#undef NLHS
32#define NLHS 1
33#undef NRHS
[8607]34#define NRHS 6
[3170]35
[4099]36#endif /* _COSTFUNCTION_H */
[3170]37
38
39
Note: See TracBrowser for help on using the repository browser.