Skip to content
Snippets Groups Projects
Commit 6151d30e authored by Christoph Lehmann's avatar Christoph Lehmann
Browse files

[PL] use GlobalIndexType instead of std::size_t

parent cc7b3671
No related branches found
No related tags found
No related merge requests found
...@@ -135,8 +135,7 @@ void doProcessOutput(std::string const& file_name, ...@@ -135,8 +135,7 @@ void doProcessOutput(std::string const& file_name,
var.fcts.eval_field(x, dof_table, result_cache); var.fcts.eval_field(x, dof_table, result_cache);
// Copy result // Copy result
for (std::size_t i = 0; i < mesh.getNumberOfNodes(); ++i) for (GlobalIndexType i = 0; i < nodal_values.size(); ++i) {
{
assert(!std::isnan(nodal_values[i])); assert(!std::isnan(nodal_values[i]));
(*result)[i] = nodal_values[i]; (*result)[i] = nodal_values[i];
} }
...@@ -155,7 +154,7 @@ void doProcessOutput(std::string const& file_name, ...@@ -155,7 +154,7 @@ void doProcessOutput(std::string const& file_name,
var.fcts.eval_residuals(x, dof_table, result_cache); var.fcts.eval_residuals(x, dof_table, result_cache);
// Copy result // Copy result
for (std::size_t i = 0; i < mesh.getNumberOfElements(); ++i) for (GlobalIndexType i = 0; i < residuals.size(); ++i)
{ {
assert(!std::isnan(residuals[i])); assert(!std::isnan(residuals[i]));
(*result)[i] = residuals[i]; (*result)[i] = residuals[i];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment