Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/reduced_basis/rb_parametrized_function.C
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,7 @@ void RBParametrizedFunction::preevaluate_parametrized_function_on_mesh(const RBP
counter++;
}
}
libmesh_error_msg_if(counter == 0, "Parametrized function on mesh has no values");

std::vector<RBParameters> mus {mu};
vectorized_evaluate(mus,
Expand Down Expand Up @@ -629,6 +630,7 @@ void RBParametrizedFunction::preevaluate_parametrized_function_on_mesh_sides(con
else
libmesh_error_msg ("Unrecognized side_type: " << side_type);
}
libmesh_error_msg_if(counter == 0, "Parametrized function on mesh sides has no values");

std::vector<RBParameters> mus {mu};
side_vectorized_evaluate(mus,
Expand Down Expand Up @@ -674,6 +676,7 @@ void RBParametrizedFunction::preevaluate_parametrized_function_on_mesh_nodes(con

counter++;
}
libmesh_error_msg_if(counter == 0, "Parametrized function on mesh nodes has no values");

std::vector<RBParameters> mus {mu};
node_vectorized_evaluate(mus,
Expand Down