@@ -314,7 +314,7 @@ memberSet.ContinuousMembers(undefined, [memberList[6].GetNo(), memberForSetOfMem
314314var effectiveLength = new ConcreteDesignEffectiveLength ( undefined , [ memberList [ 5 ] . GetNo ( ) ] , [ memberSet . GetNo ( ) ] , "Concrete design effective length" ) ;
315315effectiveLength . SetName ( "Test effective length" ) ;
316316effectiveLength . SetDeterminationType ( true , true ) ;
317- if ( ! IsCurrentCodeOfStandard ( "SP" ) ) {
317+ if ( ! IsConcreteDesignCurrentCodeOfStandard ( "SP" ) ) {
318318 effectiveLength . SetStructureType ( "BRACED" ) ;
319319}
320320else {
@@ -325,7 +325,7 @@ effectiveLength.SetNodalSupportsEndWithSupportType("FIXED_IN_Y");
325325effectiveLength . InsertNodalSupportIntermediateNodeWithSupportType ( "FIXED_IN_Z" ) ;
326326effectiveLength . InsertNodalSupportIntermediateNodeWithSupportType ( "FIXED_IN_Y" ) ;
327327effectiveLength . InsertNodalSupportIntermediateNodeWithSupportType ( "FIXED_ALL" ) ;
328- if ( ! IsCurrentCodeOfStandard ( "SP" ) ) {
328+ if ( ! IsConcreteDesignCurrentCodeOfStandard ( "SP" ) ) {
329329 effectiveLength . SetOverwriteEffectiveLengths ( 1 , 1.01 , 1.02 ) ;
330330 effectiveLength . SetOverwriteEffectiveLengths ( 2 , undefined , 1.02 ) ;
331331 effectiveLength . SetOverwriteEffectiveLengths ( 3 , 1.03 ) ;
@@ -338,7 +338,7 @@ else {
338338 effectiveLength . SetOverwriteEffectiveLengths ( 4 , undefined , undefined , 1.20 , 1.21 , 1.22 , 1.23 ) ;
339339}
340340
341- if ( IsCurrentCodeOfStandard ( "EN" ) || IsCurrentCodeOfStandard ( "NTC" ) ) {
341+ if ( IsConcreteDesignCurrentCodeOfStandard ( "EN" ) || IsConcreteDesignCurrentCodeOfStandard ( "NTC" ) ) {
342342 /********************************************** Types for concrete design - Durabilities ********************************************************/
343343 var memberForSetOfMembers2 = new Member ( ) ;
344344 memberForSetOfMembers2 . Beam ( undefined , [ 18 , 19 ] , section . GetNo ( ) ) ;
@@ -392,7 +392,7 @@ if (RFEM) {
392392 surfaceReinforcement2 . SetName ( "Surface reinforcement - rebar" ) ;
393393 surfaceReinforcement2 . SetReinforcementType ( "REBAR" ) ;
394394 surfaceReinforcement2 . SetLocationType ( "FREE_RECTANGULAR" ) ;
395- if ( IsCurrentCodeOfStandard ( "EN" ) || IsCurrentCodeOfStandard ( "SP" ) ) {
395+ if ( IsConcreteDesignCurrentCodeOfStandard ( "EN" ) || IsConcreteDesignCurrentCodeOfStandard ( "SP" ) ) {
396396 surfaceReinforcement2 . SetRebarDiameter ( 0.015 ) ;
397397 surfaceReinforcement2 . SetAdditionalRebarDiameter ( 0.009 ) ;
398398 }
@@ -408,7 +408,7 @@ if (RFEM) {
408408 surfaceReinforcement3 . SetName ( "Surface reinforcement - rebar (2)" ) ;
409409 surfaceReinforcement3 . SetLocationType ( "FREE_RECTANGULAR" ) ;
410410 surfaceReinforcement3 . SetReinforcementType ( "REBAR" ) ;
411- if ( IsCurrentCodeOfStandard ( "EN" ) || IsCurrentCodeOfStandard ( "SP" ) ) {
411+ if ( IsConcreteDesignCurrentCodeOfStandard ( "EN" ) || IsConcreteDesignCurrentCodeOfStandard ( "SP" ) ) {
412412 //surfaceReinforcement3.SetRebarDiameterAuto(0.011, 0.021, "0.008, 0.010, 0.012, 0.014", 2);
413413 surfaceReinforcement3 . SetRebarSpacing ( 0.151 ) ;
414414 surfaceReinforcement3 . SetAdditionalRebarSpacing ( 0.008 ) ;
@@ -423,7 +423,7 @@ if (RFEM) {
423423 var surfaceReinforcement4 = new ConcreteDesignSurfaceReinforcement ( undefined , [ surfaceList [ 9 ] . no ] , reinforcementMaterial . GetNo ( ) , "Concrete design Surface reinforcement - stirrups" ) ;
424424 surfaceReinforcement4 . SetName ( "Surface reinforcement - stirrups" )
425425 surfaceReinforcement4 . SetReinforcementType ( "STIRRUPS" ) ;
426- if ( IsCurrentCodeOfStandard ( "EN" ) || IsCurrentCodeOfStandard ( "SP" ) ) {
426+ if ( IsConcreteDesignCurrentCodeOfStandard ( "EN" ) || IsConcreteDesignCurrentCodeOfStandard ( "SP" ) ) {
427427 //surfaceReinforcement4.SetStirrupsDiameter(0.021);
428428 }
429429 else {
@@ -446,7 +446,7 @@ if (RFEM) {
446446
447447 if ( PRERELEASE_MODE ) {
448448 /**************************************************** Types for concrete design - Punching reinforcement ****************************************************/
449- if ( ! IsCurrentCodeOfStandard ( "SP" ) ) {
449+ if ( ! IsConcreteDesignCurrentCodeOfStandard ( "SP" ) ) {
450450 var materialForPunching = new Material ( undefined , "Grade 40" ) ;
451451 }
452452 else {
@@ -473,14 +473,14 @@ if (RFEM) {
473473 }
474474
475475 surfaceList2 [ 0 ] . SetUserDefinedConcreteCover ( 0.035 , 0.036 ) ;
476- if ( IsCurrentCodeOfStandard ( "EN" ) || IsCurrentCodeOfStandard ( "NTC" ) ) {
476+ if ( IsConcreteDesignCurrentCodeOfStandard ( "EN" ) || IsConcreteDesignCurrentCodeOfStandard ( "NTC" ) ) {
477477 surfaceList2 [ 0 ] . SetConcreteDesignConcreteDurability ( 1 , 2 ) ;
478478 }
479479 surfaceList2 [ 0 ] . SetConcreteDesignReinforcementDirections ( 1 , 2 ) ;
480480 surfaceList2 [ 0 ] . SetConcreteDesignSurfaceReinforcement ( [ 1 , 3 , 5 , 7 ] ) ;
481481
482482 surfaceList2 [ 1 ] . SetConcreteCoverAccToEn1992 ( ) ;
483- if ( IsCurrentCodeOfStandard ( "EN" ) || IsCurrentCodeOfStandard ( "NTC" ) ) {
483+ if ( IsConcreteDesignCurrentCodeOfStandard ( "EN" ) || IsConcreteDesignCurrentCodeOfStandard ( "NTC" ) ) {
484484 surfaceList2 [ 1 ] . SetConcreteDesignConcreteDurability ( 2 , 1 ) ;
485485 }
486486 surfaceList2 [ 1 ] . SetConcreteDesignReinforcementDirections ( 2 , 1 ) ;
0 commit comments