Skip to content
Snippets Groups Projects
Commit 121813ac authored by Henrik Asmuth's avatar Henrik Asmuth
Browse files

Add additional error message in VelocitySetter:fillArrays

parent 79118e91
No related branches found
No related tags found
1 merge request!170Kernel templetization and efficiency improvements
...@@ -366,7 +366,10 @@ void VTKReader::fillArrays(std::vector<real>& coordsY, std::vector<real>& coords ...@@ -366,7 +366,10 @@ void VTKReader::fillArrays(std::vector<real>& coordsY, std::vector<real>& coords
} }
if(!foundAll) if(!foundAll)
{
VF_LOG_CRITICAL("Found no matching precursor neighbors for grid point at y={}, z={} \n", posY, posZ);
throw std::runtime_error("VTKReader::fillArrays(): Did not find neighbors in the VelocityFileCollection for all points"); throw std::runtime_error("VTKReader::fillArrays(): Did not find neighbors in the VelocityFileCollection for all points");
}
} }
if(perfect_match) if(perfect_match)
......
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