*Set Var oJdeoShell=1
*If(strcmp(MatProp(Material_Prototype),"CC3DNonLinCementitious2WithTempDepProperties")==0 || strcmp(MatProp(Material_Prototype),"CCCombinedMaterialWithTempDepProperties")==0 || strcmp(MatProp(Material_Prototype),"CCCombinedMaterial")==0)
   "CC3DNonLinCementitious2"
*ElseIf(strcmp(MatProp(Material_Prototype),"CC3DBiLinearVonMisesWithTempDepProperties")==0)
   "CC3DBiLinearSteelVonMises"
*Else
   "*MatProp(Material_Prototype)"
*endif
// For base is used *MatProp(0)
*If(strcmp(MatProp(Material_Prototype),"CCModelBaXi94")==0)
*#
*include ..\include.src.bas\CCModelBaXi94MaterialParameters.bas
*#
*ElseIf(strcmp(MatProp(Material_Prototype),"CCTransportMaterialLevel7")==0)
*#
*include ..\include.src.bas\CCModelTransportMaterialLevel7.bas
*#
 ;
*ElseIf(strcmp(MatProp(Material_Prototype),"CC3DElastIsotropic")==0)
*#
*include ..\include.src.bas\BasicMaterialParameters.bas
*include ..\include.src.bas\ModelIdealisation.bas
*#
*ElseIf(strcmp(MatProp(Material_Prototype),"CCPlaneStressElastIsotropic")==0 || strcmp(MatProp(Material_Prototype),"CCPlaneStrainElastIsotropic")==0||strcmp(MatProp(Material_Prototype),"CCASymElastIsotropic")==0)
*#
*MessageBox error: Materials with Prototype CCPlaneStressElastIsotropic or CCPlaneStrainElastIsotropic or CCASymElastIsotropic can not be used for shell macroelement. Use another material.
*#
*ElseIf(strcmp(MatProp(Material_Prototype),"CCPlaneStressSteel")==0)
*#
*MessageBox error: Material with Prototype CCPlaneStressSteel can not be used for shell macroelement. Use another material.
*#
*ElseIf(strcmp(MatProp(Material_Prototype),"CCSBETAMaterial")==0)
*#
*MessageBox error: Material with Prototype CCSBETAMaterial can not be used for shell macroelement. Use another material.
*#include ..\include.src.bas\BasicMaterialParameters.bas
*#
*include ..\include.src.bas\addCCSBETAMaterialParameters.bas
*#
*ElseIf(strcmp(MatProp(Material_Prototype),"CC3DBiLinearSteelVonMises")==0 || strcmp(MatProp(Material_Prototype),"CC2DBiLinearSteelVonMises")==0)
   TYPE "CC3DBiLinearSteelVonMises"
*include ..\include.src.bas\BasicMaterialParameters.bas
*include ..\include.src.bas\CC3DBiLinearSteelVonMisesParametersOnly.bas
*#
*ElseIf(strcmp(MatProp(Material_Prototype),"CC3DCementitious")==0)
*include ..\include.src.bas\BasicMaterialParameters.bas
*include ..\include.src.bas\addCC3DCementitiousMaterialParameters.bas
*#
*ElseIf(strcmp(MatProp(Material_Prototype),"CC3DNonLinCementitious")==0 || strcmp(MatProp(Material_Prototype),"CC3DNonLinCementitious2")==0 )
*include ..\include.src.bas\BasicMaterialParameters.bas
*include ..\include.src.bas\addCC3DCementitiousMaterialParameters.bas
*include ..\include.src.bas\addCC3DNonLinCementitiousMaterialParameters.bas
*include ..\include.src.bas\addCC3DNonLinCementitious2AdvanceMaterialParameters.bas
*#
*include ..\include.src.bas\addRadialCracks_MaterialParameter.bas
*include ..\include.src.bas\ModelIdealisation.bas
*#
*ElseIf(strcmp(MatProp(Material_Prototype),"CC3DNonLinCementitious2Fatigue")==0 )
*include ..\include.src.bas\BasicMaterialParameters.bas
*include ..\include.src.bas\addCC3DCementitiousMaterialParameters.bas
*include ..\include.src.bas\addCC3DNonLinCementitiousMaterialParameters.bas
*include ..\include.src.bas\addCC3DNonLinCementitious2AdvanceMaterialParameters.bas
*include ..\include.src.bas\addRadialCracks_MaterialParameter.bas
*include ..\include.src.bas\addCC3DNonLinCementitious2FatigueMaterialParameters.bas
*include ..\include.src.bas\ModelIdealisation.bas
*#
*ElseIf(strcmp(MatProp(Material_Prototype),"CC3DNonLinCementitious2FRC")==0 )
*include ..\include.src.bas\BasicMaterialParameters.bas
*include ..\include.src.bas\addCC3DCementitiousMaterialParameters.bas
*include ..\include.src.bas\addCC3DNonLinCementitiousMaterialParameters.bas
*include ..\include.src.bas\addCC3DNonLinCementitious2AdvanceMaterialParameters.bas
*include ..\include.src.bas\addRadialCracks_MaterialParameter.bas
*include ..\include.src.bas\addCC3DNonLinCementitious2FRCMaterialParameters.bas
*include ..\include.src.bas\ModelIdealisation.bas
*#
*ElseIf(strcmp(MatProp(Material_Prototype),"CC3DNonLinCementitious2User")==0 || strcmp(MatProp(Material_Prototype),"CC3DNonLinCementitious2SHCC")==0)
*include ..\include.src.bas\BasicMaterialParameters.bas
*include ..\include.src.bas\addCC3DCementitiousMaterialParameters.bas
*#
*include ..\include.src.bas\addCC3DNonLinCementitious2User_SHCCMaterialParameters.bas
*include ..\include.src.bas\addCC3DNonLinCementitious2AdvanceMaterialParameters.bas
*include ..\include.src.bas\addRadialCracks_MaterialParameter.bas
*#
*include ..\include.src.bas\ModelIdealisation.bas
*#
*ElseIf(strcmp(MatProp(Material_Prototype),"CC3DNonLinCementitious2Variable")==0)
*#include ..\include.src.bas\BasicMaterialParameters.bas
*#include ..\include.src.bas\addCC3DCementitiousMaterialParameters.bas
*#
*include ..\include.src.bas\CC3DNonLinCementitious2Variable.bas
*include ..\include.src.bas\addCC3DNonLinCementitious2AdvanceMaterialParameters.bas
*#
*include ..\include.src.bas\ModelIdealisation.bas
*#
*ElseIf(strcmp(MatProp(Material_Prototype),"CCSmearedReinf")==0)
*include ..\include.src.bas\BasicReinforcementMaterialParameters.bas
  RATIO *MatProp(Reinforcing_RATIO_p=As/Ac,Real)
  FUNCTION *Operation(matvar*IncrAdvancedFunID+9)	
  DIRECTION *MatProp(Dir_X_of_the_smeared_reinf,Real) *MatProp(Dir_Y_of_the_smeared_reinf,Real) *\
*If(ndime==3)
	*MatProp(Dir_Z_of_the_smeared_reinf,Real)
*EndIf
*ElseIf((strcmp(MatProp(Material_Prototype),"CCMicroplane4")==0) || (strcmp(MatProp(Material_Prototype),"CCMicroplane7")==0))
*include ..\include.src.bas\BasicMaterialParameters.bas
*include ..\include.src.bas\addCCMicroplaneMaterialParameters.bas
*include ..\include.src.bas\ModelIdealisation.bas
*include ..\include.src.bas\addRadialCracks_MaterialParameter.bas
*#
*ElseIf(strcmp(MatProp(Material_Prototype),"CCM4RC")==0 )
*include ..\include.src.bas\CCM4RCMaterialParameters.bas
*include ..\include.src.bas\ModelIdealisation.bas
*include ..\include.src.bas\addRadialCracks_MaterialParameter.bas
*#
*ElseIf(strcmp(MatProp(Material_Prototype),"CCBeam3DMaterial")==0)
*#
*include ..\include.src.bas\CCBeamGeometry.bas
*#
*ElseIf(strcmp(MatProp(Material_Prototype),"CC3DBiLinearVonMisesWithTempDepProperties")==0)
*#
*include ..\include.src.bas\CC3DBiLinearVonMisesWithTempDepProperties2.bas
*#
*ElseIf(strcmp(MatProp(Material_Prototype),"CC3DNonLinCementitious2WithTempDepProperties")==0)
*#
*include ..\include.src.bas\ParametersCC3DNonLinCementitious2WithTempDepProperties.bas
*#include ..\include.src.bas\CC3DNonLinCementitious2WithTempDepProperties.bas
*#
*ElseIf(strcmp(MatProp(Material_Prototype),"CC3DNonLinCementitious3")==0)
*#
*include ..\include.src.bas\CC3DNonLinCementitious3MaterialParameters.bas
*#
*EndIf
*Set Var oJdeoShell=0

