Number RBEIMEvaluation::evaluate_parametrized_function(unsigned int var_index, const Point & p, const Elem & elem) { if(var_index >= get_n_parametrized_functions()) libmesh_error_msg("Error: We must have var_index < get_n_parametrized_functions() in evaluate_parametrized_function."); return _parametrized_functions[var_index]->evaluate(get_parameters(), p, elem); }
Number RBEIMEvaluation::evaluate_parametrized_function(unsigned int var_index, const Point& p) { if(var_index >= get_n_parametrized_functions()) { libMesh::err << "Error: We must have var_index < get_n_parametrized_functions() in evaluate_parametrized_function." << std::endl; libmesh_error(); } return _parametrized_functions[var_index]->evaluate(get_parameters(), p); }