Skip to content

Commit

Permalink
Adding missing file from last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
nitramkaroh committed Sep 11, 2024
1 parent 0f92203 commit c9ef232
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/oofemlib/cltypes.C
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ InternalStateValueType giveInternalStateValueType(InternalStateType type)
case IST_X_LCS:
case IST_Y_LCS:
case IST_Z_LCS:
case IST_MagneticFieldVector:
case IST_MagneticInductionVector:
return ISVT_VECTOR;

case IST_MaxEquivalentStrainLevel:
Expand Down Expand Up @@ -252,7 +254,7 @@ InternalStateValueType giveInternalStateValueType(UnknownType type)
{
if ( type == DisplacementVector || type == EigenVector || type == VelocityVector || type == DirectorField || type == MacroSlipVector || type == ResidualForce ) {
return ISVT_VECTOR;
} else if ( type == FluxVector || type == PressureVector || type == Temperature || type == Humidity || type == DeplanationFunction ) {
} else if ( type == FluxVector || type == PressureVector || type == Temperature || type == Humidity || type == DeplanationFunction || type == MagneticPotential ) {
return ISVT_SCALAR;
} else {
OOFEM_ERROR( "unsupported UnknownType %s", __UnknownTypeToString(type) );
Expand Down

0 comments on commit c9ef232

Please sign in to comment.