ViscousPenaltyConstMatrixCartesian* _ViscousPenaltyConstMatrixCartesian_New(  VISCOUSPENALTYCONSTMATRIXCARTESIAN_DEFARGS  )
{
	ViscousPenaltyConstMatrixCartesian* self;
	
	/* Call private constructor of parent - this will set virtual functions of parent and continue up the hierarchy tree. At the beginning of the tree it will allocate memory of the size of object and initialise all the memory to zero. */
	assert( _sizeOfSelf >= sizeof(ViscousPenaltyConstMatrixCartesian) );
	self = (ViscousPenaltyConstMatrixCartesian*) _ConstitutiveMatrix_New(  CONSTITUTIVEMATRIX_PASSARGS  );
	
	/* Function pointers for this class that are not on the parent class should be set here */
	
	return self;
}
示例#2
0
Matrix_NaiNbj* _Matrix_NaiNbj_New(  MATRIX_NAINBJ_DEFARGS  )
{
	Matrix_NaiNbj* self;
	
	/* Call private constructor of parent - this will set virtual functions of parent and continue up the hierarchy tree. At the beginning of the tree it will allocate memory of the size of object and initialise all the memory to zero. */
	assert( _sizeOfSelf >= sizeof(Matrix_NaiNbj) );
	self = (Matrix_NaiNbj*) _ConstitutiveMatrix_New(  CONSTITUTIVEMATRIX_PASSARGS  );
	
	/* Function pointers for this class that are not on the parent class should be set here */
	
	return self;
}
/* Private Constructor: This will accept all the virtual functions for this class as arguments. */
ConstitutiveMatrixCartesian* _ConstitutiveMatrixCartesian_New(  CONSTITUTIVEMATRIXCARTESIAN_DEFARGS  )
{
   ConstitutiveMatrixCartesian* self;

   /* Call private constructor of parent - this will set virtual functions of parent and continue up the hierarchy tree. At the beginning of the tree it will allocate memory of the size of object and initialise all the memory to zero. */
   assert( _sizeOfSelf >= sizeof(ConstitutiveMatrixCartesian) );
   self = (ConstitutiveMatrixCartesian*) _ConstitutiveMatrix_New(  CONSTITUTIVEMATRIX_PASSARGS  );

   /* Function pointers for this class that are not on the parent class should be set here */

   self->beenHere = 0;
   self->cppdata = (void*) new ConstitutiveMatrixCartesian_cppdata;

   return self;
}