MCPcopy Create free account
hub / github.com/dealii/dealii / get_function_values

Method get_function_values

source/fe/fe_values_base.cc:715–733  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

713template <int dim, int spacedim>
714template <typename Number>
715void
716FEValuesBase<dim, spacedim>::get_function_values(
717 const ReadVector<Number> &fe_function,
718 std::vector<Number> &values) const
719{
720 Assert(this->update_flags & update_values,
721 ExcAccessToUninitializedField("update_values"));
722 AssertDimension(fe->n_components(), 1);
723 Assert(present_cell.is_initialized(), ExcNotReinited());
724 AssertDimension(fe_function.size(), present_cell.n_dofs_for_dof_handler());
725
726 // get function values of dofs on this cell
727 Vector<Number> dof_values(dofs_per_cell);
728 present_cell.get_interpolated_dof_values(fe_function, dof_values);
729 internal::do_function_values(make_array_view(dof_values.begin(),
730 dof_values.end()),
731 this->finite_element_output.shape_values,
732 values);
733}
734
735
736

Callers 15

process_cellMethod · 0.45
initializeMethod · 0.45
build_one_patchMethod · 0.45
build_patchesMethod · 0.45
build_one_patchMethod · 0.45
build_one_patchMethod · 0.45
evaluate_fieldMethod · 0.45
testFunction · 0.45

Calls 12

AssertFunction · 0.85
AssertDimensionFunction · 0.85
make_array_viewFunction · 0.85
do_function_valuesFunction · 0.70
n_componentsMethod · 0.45
is_initializedMethod · 0.45
sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
extract_subvector_toMethod · 0.45

Tested by 15

TestProjectionFunction · 0.36
TestProjectionFunction · 0.36
get_function_jumpMethod · 0.36
get_normal_jumpMethod · 0.36
get_tangential_jumpMethod · 0.36
test_viewFunction · 0.36
test_interpolationFunction · 0.36
test_feiv_viewFunction · 0.36
test_boundary_valuesFunction · 0.36
test_boundary_valuesFunction · 0.36
test_boundaryFunction · 0.36
test_faceFunction · 0.36