60 double const t, std::vector<GlobalVector*>
const& x,
70 .template topRows<ShapeFunction::MeshElement::n_all_nodes>();
73 .template topRows<ShapeFunction::MeshElement::n_all_nodes>();
76 .template topRows<ShapeFunction::MeshElement::n_all_nodes>();
79 .template topRows<ShapeFunction::MeshElement::n_all_nodes>();
80 unsigned const n_integration_points =
83 auto const indices_current_variable =
86 mesh_item_id, *
_data.dof_table_boundary_other_variable);
87 std::vector<double>
const local_current_variable =
88 x[process_id]->get(indices_current_variable);
89 std::vector<double>
const local_other_variable =
90 x[process_id]->get(indices_other_variable);
92 for (
unsigned ip = 0; ip < n_integration_points; ip++)
95 auto const& N = n_and_weight.N;
96 auto const& w = n_and_weight.weight;
98 double current_variable_int_pt = 0.0;
99 double other_variable_int_pt = 0.0;
102 current_variable_int_pt);
104 other_variable_int_pt);
106 constant_node_values +
107 coefficient_current_variable_node_values *
108 current_variable_int_pt +
109 coefficient_other_variable_node_values * other_variable_int_pt +
110 coefficient_mixed_variables_node_values *
111 current_variable_int_pt * other_variable_int_pt;
112 _local_rhs.noalias() += N * neumann_node_values.dot(N) * w;
115 b.
add(indices_current_variable, _local_rhs);