
/*
	PenaltyConstraints.h
*/


#ifndef _PENALTYCONSTRAINTS_H
#define _PENALTYCONSTRAINTS_H

/* local prototypes: */
void PenaltyConstraintsUsage(void);

#include "../../c/issm.h"

#undef __FUNCT__ 
#define __FUNCT__  "PenaltyConstraints"

/* serial input macros: */
#define ELEMENTS (mxArray*)prhs[0]
#define NODES (mxArray*)prhs[1]
#define LOADSIN (mxArray*)prhs[2]
#define MATERIALS (mxArray*)prhs[3]
#define PARAMETERS (mxArray*)prhs[4]
#define INPUTS (mxArray*)prhs[5]

/* serial output macros: */
#define LOADS (mxArray**)&plhs[0]
#define CONVERGED (mxArray**)&plhs[1]
#define NUMUNSTABLECONSTRAINTS (mxArray**)&plhs[2]

/* serial arg counts: */
#undef NLHS
#define NLHS  3
#undef NRHS
#define NRHS  6

#endif  /* _PENALTYCONSTRAINTS_H */
