You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// call set_params on the schema in case the parameter have changed:
114
114
if(!initialized||update_params)
115
115
schema.set_params(params);
116
-
TEUCHOS_TEST_FOR_EXCEPTION(schema.quadratic_shape_function_enabled(),std::runtime_error,"Error, cannot use quadratic shape function for the api routines");
116
+
TEUCHOS_TEST_FOR_EXCEPTION(schema.shape_function_type()!=DICe::AFFINE_SF,std::runtime_error,"Error, can only use AFFINE shape function for the api routines");
TEUCHOS_TEST_FOR_EXCEPTION(schema.quadratic_shape_function_enabled(),std::runtime_error,"Error, cannot use quadratic shape function for the api routines");
261
+
TEUCHOS_TEST_FOR_EXCEPTION(schema.shape_function_type()!=DICe::AFFINE_SF,std::runtime_error,"Error, can only use AFFINE shape function for the api routines");
"Enables the quadratic shape function degrees of freedom (all components are activiated and individual components like rotation or shear cannot be disabled)");
TEUCHOS_TEST_FOR_EXCEPTION(enable_quadratic_shape_function_,std::runtime_error,"Error, seeds can't be used with the quadratic shape function enabled");
938
+
TEUCHOS_TEST_FOR_EXCEPTION(shape_function_type_!=DICe::AFFINE_SF,std::runtime_error,"Error, seeds can only be used with the affine shape function");
TEUCHOS_TEST_FOR_EXCEPTION(enable_quadratic_shape_function_,std::runtime_error,"Error, seeds can't be used with the quadratic shape function enabled");
945
+
TEUCHOS_TEST_FOR_EXCEPTION(shape_function_type_!=DICe::AFFINE_SF,std::runtime_error,"Error, seeds can only be used with the affine shape function");
0 commit comments