try \
{ \
AssertThrowDebug((field_index) < get_relevant_feeval_vector<Rank>().size(), \
dealii::ExcMessage("Error: Field index " + \
std::to_string(field_index) + \
" is not associated with any field.")); \
return get_relevant_feeval_vector<Rank>()[field_index] \
.getter(dependency_type) \
.get_handle(q_point); \
} \
{ \
std::cerr << "Error when trying to access field with index " << (field_index) \
<< " and dependency type " \
<< e.what() \
<< "Ensure that each dependency is requested in the solve block.\n" \
<< std::flush; \
throw; \
} \
catch (const dealii::internal::ExcAccessToUninitializedField &e) \
{ \
std::cerr << "Error when trying to access field with index " << (field_index) \
<< " and dependency type " \
<< ":\nAccess was attempted for values or gradients that were " \
"not requested.\n" \
<< std::flush; \
throw; \
}
Definition field_container.h:559
static const std::map< DependencyType, std::string > dependency_type_to_string
Definition field_container.h:511