/*
 * CreateConstraintsThermal.c:
 */

#include "../../../toolkits/toolkits.h"
#include "../../../classes/classes.h"
#include "../../../shared/shared.h"
#include "../ModelProcessorx.h"
#include "../../IoModelToConstraintsx/IoModelToConstraintsx.h"

void	CreateConstraintsThermal(Constraints** pconstraints, IoModel* iomodel){

	/*Recover pointer: */
	Constraints* constraints=*pconstraints;

	/*Only 3d mesh supported*/
	if(iomodel->dim==3){
		IoModelToConstraintsx(constraints,iomodel,ThermalSpctemperatureEnum,ThermalAnalysisEnum,P1Enum);
	}

	/*Assign output pointer: */
	*pconstraints=constraints;
}
