Skip to content

Commit 4cb4787

Browse files
committed
Changed error text to avoid IGNORE_UNDRAINED in the text.
1 parent 652b5d3 commit 4cb4787

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

applications/GeoMechanicsApplication/custom_elements/U_Pw_small_strain_FIC_element.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,10 @@ int UPwSmallStrainFICElement<TDim, TNumNodes>::Check(const ProcessInfo& rCurrent
133133
} else if (r_properties.Has(IGNORE_UNDRAINED)) {
134134
is_constant_pw_field = r_properties[IGNORE_UNDRAINED];
135135
}
136-
KRATOS_ERROR_IF(is_constant_pw_field) << "IGNORE_UNDRAINED cannot be used in FIC elements. Use "
137-
"Non FIC elements instead"
138-
<< this->Id() << std::endl;
136+
KRATOS_ERROR_IF(is_constant_pw_field)
137+
<< "Constant water pressure fields cannot be used in FIC elements. "
138+
"Use Non FIC elements instead"
139+
<< this->Id() << std::endl;
139140

140141
return ierr;
141142

0 commit comments

Comments
 (0)