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

Temporary 1 source - 1 emitter setup

parent b14a4ceb
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.
...@@ -95,6 +95,24 @@ namespace flexible_acquisition ...@@ -95,6 +95,24 @@ namespace flexible_acquisition
_wave_omega[Support::BLK] = _model_known[Support::BLK] | _model_unknown[Support::BLK]; _wave_omega[Support::BLK] = _model_known[Support::BLK] | _model_unknown[Support::BLK];
_wave_omega[Support::BND] = _model_known[Support::BND] | _model_unknown[Support::BND]; _wave_omega[Support::BND] = _model_known[Support::BND] | _model_unknown[Support::BND];
for (unsigned p = 0; p < _er_positions.size(); ++p) {
_point.push_back("emitter_receiver_"+std::to_string(p));
_points |= _point[p];
}
// Setup number of emitters etc. TODO: make some points only receivers
_ns = _er_positions.size();
for (unsigned s = 0; s < _ns; ++s) {
_emitter.push_back({s});
}
// TMP: each emitter is its receptor
for (unsigned s = 0; s < _ns; ++s) {
_receiver.push_back({s});
}
// Once Dirichlet BCs are added // Once Dirichlet BCs are added
//_named_domains() ... //_named_domains() ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment