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