Skip to content
Snippets Groups Projects
Commit 16300280 authored by Boris Martin's avatar Boris Martin
Browse files

update acquisition

parent 587ef107
No related branches found
No related tags found
1 merge request!6Draft: "Flexible acquisition", a configuration with arbitrary sources and receivers read from a YAML file.
......@@ -53,7 +53,7 @@ bool ConfigurationInterface::pntIsValid(unsigned int e_r) const
{
if( !(e_r<_np) )
{
throw Exception("Emitter-receiver "+std::to_string(e_r)+" is out of scope.");
throw Exception("Emitter-receiver "+std::to_string(e_r)+" is out of scope. There are only "+std::to_string(_np)+" points.");
}
return true;
}
......
......@@ -70,6 +70,9 @@ namespace flexible_acquisition
_er_positions.push_back(coords);
}
_np = _er_positions.size();
mesh();
......@@ -86,6 +89,7 @@ namespace flexible_acquisition
}
/*
* DOMAIN
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment