@@ -29,20 +29,16 @@ static const char *BehaviourDescription_getType(
2929 switch (b.btype ) {
3030 case BehaviourDescription::GENERALBEHAVIOUR:
3131 return " GeneralBehaviour" ;
32- break ;
3332 case BehaviourDescription::STANDARDSTRAINBASEDBEHAVIOUR:
3433 return " StandardStrainBasedBehaviour" ;
35- break ;
3634 case BehaviourDescription::STANDARDFINITESTRAINBEHAVIOUR:
3735 return " StandardFiniteStrainBehaviour" ;
38- break ;
3936 case BehaviourDescription::COHESIVEZONEMODEL:
4037 return " CohesiveZoneModel" ;
41- break ;
4238 default :
43- mgis::raise ( " BehaviourDescription_getType: unsupported behaviour type " ) ;
39+ break ;
4440 }
45- return " " ;
41+ mgis::raise ( " BehaviourDescription_getType: unsupported behaviour type " ) ;
4642} // end of BehaviourDescription_getType
4743
4844static const char *BehaviourDescription_getKinematic (
@@ -51,16 +47,12 @@ static const char *BehaviourDescription_getKinematic(
5147 switch (b.kinematic ) {
5248 case BehaviourDescription::SMALLSTRAINKINEMATIC:
5349 return " SmallStrainKinematic" ;
54- break ;
5550 case BehaviourDescription::COHESIVEZONEKINEMATIC:
5651 return " CohesiveZoneKinematic" ;
57- break ;
5852 case BehaviourDescription::FINITESTRAINKINEMATIC_F_CAUCHY:
5953 return " F_CAUCHY" ;
60- break ;
6154 case BehaviourDescription::FINITESTRAINKINEMATIC_ETO_PK1:
6255 return " ETO_PK1" ;
63- break ;
6456 case BehaviourDescription::UNDEFINEDKINEMATIC:
6557 default :
6658 break ;
@@ -77,10 +69,9 @@ static const char *BehaviourDescription_getSymmetry(
7769 case BehaviourDescription::ORTHOTROPIC:
7870 return " Orthotropic" ;
7971 default :
80- mgis::raise (" unsupported symmetry type" );
8172 break ;
8273 }
83- return " UndefinedSymemtry " ;
74+ mgis::raise ( " unsupported symmetry type " ) ;
8475} // end of BehaviourDescription_getSymmetry
8576
8677static std::vector<mgis::behaviour::Variable> BehaviourDescription_getGradients (
0 commit comments