source: issm/branches/trunk-jpl-damage/src/mex/ControlInputSetGradient/ControlInputSetGradient.h@ 11427

Last change on this file since 11427 was 11313, checked in by Mathieu Morlighem, 13 years ago

Objective function gradient is now ONE unique vector

File size: 1021 bytes
Line 
1/*
2 ControlInputSetGradient.h
3*/
4
5#ifndef _CONTROLINPUTSETGRADIENT_H
6#define _CONTROLINPUTSETGRADIENT_H
7
8/* local prototypes: */
9void ControlInputSetGradientUsage(void);
10
11#include "../../c/modules/modules.h"
12#include "../../c/Container/Container.h"
13#include "../../c/shared/shared.h"
14#include "../../c/EnumDefinitions/EnumDefinitions.h"
15
16#undef __FUNCT__
17#define __FUNCT__ "ControlInputSetGradient"
18
19/* serial input macros: */
20#define ELEMENTSIN (mxArray*)prhs[0]
21#define NODESIN (mxArray*)prhs[1]
22#define VERTICESIN (mxArray*)prhs[2]
23#define LOADSIN (mxArray*)prhs[3]
24#define MATERIALSIN (mxArray*)prhs[4]
25#define PARAMETERSIN (mxArray*)prhs[5]
26#define GRADIENT (mxArray*)prhs[6]
27
28/* serial output macros: */
29#define ELEMENTS (mxArray**)&plhs[0]
30#define NODES (mxArray**)&plhs[1]
31#define VERTICES (mxArray**)&plhs[2]
32#define LOADS (mxArray**)&plhs[3]
33#define MATERIALS (mxArray**)&plhs[4]
34#define PARAMETERS (mxArray**)&plhs[5]
35
36/* serial arg counts: */
37#undef NLHS
38#define NLHS 6
39#undef NRHS
40#define NRHS 7
41
42#endif
Note: See TracBrowser for help on using the repository browser.