48 unsigned int src_index,
unsigned int rcp_index,
49 int nbTrajectsForOneSource,
int nNbTrajets)
59 *
_tabTrajets.at(nbTrajectsForOneSource), nNbTrajets + 1));
77 for (
unsigned int i = 0; i <
_tabTrajets.size(); i++)
79 for (
size_t j = 0; j <
_tabTrajets.at(i)->get_tab_rays().size(); j++)
81 tabRays.push_back(
_tabTrajets.at(i)->get_tab_rays()[j]);
88 for (
int i = 0; i < nSourceTrajectsNumber; i++)
93 matrix(ridx, sidx) =
_tabTrajets.at(i)->getSpectre();
99 for (
unsigned int cnt = 0; cnt <
_tabTrajets.size(); cnt++)
std::vector< acoustic_path * > tab_acoustic_path
virtual void push(OTask *task)
Add a task to the queue.
Acoustic model for the 9613Solver.
void buildAcousticModel() override
Build the acoustic model.
std::unique_ptr< TYAcousticModel9613Solver > make_acoustic_model()
TYAcousticModel builder.
void deleteTrajets() override
Delete all the Trajets.
void initAcousticModel() override
Initialize the acoustic model.
std::unique_ptr< TYAcousticModel9613Solver > _acousticModel
Pointer to the TYAcousticModel.
TYSolver9613Solver()
Constructor.
void addNewTaskForOneTrajetSrcRcp(const tympan::AcousticProblemModel &aproblem, unsigned int src_index, unsigned int rcp_index, int nbTrajectsForThisSource, int nNbTrajets) override
Instanciate a new task to compute a Trajet.
void clearTabTrajets() override
Clear the array of TYTrajet9613Solver.
std::vector< TYTrajet9613Solver * > _tabTrajets
Vector of TYTrajet9613Solver.
void buildResultsMatrix(int nSourceTrajetsNumber, tympan::SpectrumMatrix &matrix) override
Build the matrix of the results for a given source and all the receptors These results are the result...
void displayRaysInGUI(tab_acoustic_path &) override
Keep rays in tab in order to display them in GUI.
virtual ~TYSolver9613Solver()
Destructor.
Class which represents the Solver for 9613 family solvers.
Task of a thread collection for Tympan.
This class TYTrajet (journey) links a couple Source-Receptor and a collection of paths,...
tympan::source_idx asrc_idx
tympan::receptor_idx arcpt_idx
Class to describe the acoustic problem.
const material_pool_t & materials() const
Return array of materials.
const nodes_pool_t & nodes() const
Return array of nodes.
const triangle_pool_t & triangles() const
Return array of triangles.
Spectrum matrix N*M used to store results. N is the number of receptors. M is the number of sources.