Template Function ImmersX::ReducedFieldUtils::read_field_values¶
Defined in File reduced_field_utils.h
Function Documentation¶
-
template<int dim, int spacedim>
std::vector<double> ImmersX::ReducedFieldUtils::read_field_values(const std::string &symbol_name, const std::vector<InputFieldBinding> &bindings, const dealii::DoFHandler<dim, spacedim> &properties_dh, const dealii::LinearAlgebra::distributed::Vector<double> &properties)¶ Look up the input field named
symbol_nameamongbindingsand return its value on every locally owned active cell ofproperties_dh, in the order of active_cell_iterators().The name is the symbol the field has in the “Input file fields” entry of the parameter file (for example “vessel_id”). Fields stored per cell are constant on a cell. Point fields are evaluated at the cell midpoint. Throws if no binding has that name.
propertiesmust have up-to-date ghost values.