83 const string& sourceVolumeId);
118 unsigned int src_index,
unsigned int rcp_index,
119 int nbTrajetsForThisSource,
int nNbTrajets) = 0;
std::vector< acoustic_path * > tab_acoustic_path
This file provides the top-level declaration for the acoustic problem model.
This file provides the top-level declaration for the acoustic result model.
Class to define a segment.
Slave threads collection.
This class mainly define a mesh (list of Shape) used by the Simulation object.
Interface class for solvers.
Acoustic model for the considered solver.
Build the acoustic path for the 9613 family solvers.
Building class of the faces list.
Class which represents the Solver for 9613 family solvers.
virtual void clearTabTrajets()=0
Clear the specific array of TYTrajet depending on the solver.
std::vector< TYStructSurfIntersect > _tabPolygon
Vector of TYStructSurfIntersect.
TYAcousticPathFinder * getAcousticPathFinder()
Get the acoustic path finder.
const Scene * getScene() const
Get the Scene.
std::unique_ptr< TYFaceSelector > _faceSelector
Pointer to the TYFaceSelector.
std::unique_ptr< TYAcousticPathFinder > make_path_finder()
TYAcousticPathFinder builder.
virtual void addNewTaskForOneTrajetSrcRcp(const tympan::AcousticProblemModel &aproblem, unsigned int src_index, unsigned int rcp_index, int nbTrajetsForThisSource, int nNbTrajets)=0
Instanciate a new task to compute a Trajet.
std::unique_ptr< Scene > _scene
Pointer to the Scene.
virtual ~TYSolver()
Destructor.
virtual void buildAcousticModel()=0
Build the acoustic model.
bool appendTriangleToScene()
Convertion des triangles Tympan en primitives utilisables par ray tracer.
void selectFaces(std::deque< TYSIntersection > &tabIntersect, const OSegment3D &rayon, const string &sourceVolumeId)
Delegate to _faceSelector the build of the array of intersections.
const std::vector< TYStructSurfIntersect > & getTabPolygon() const
Get the array of polygons.
virtual void buildResultsMatrix(int nSourceTrajetsNumber, tympan::SpectrumMatrix &matrix)=0
Build the matrix of the results for a given source and all the receptors These results are the result...
std::unique_ptr< TYAcousticPathFinder > _acousticPathFinder
Pointer to the TYAcousticPathFinder.
virtual bool solve(const tympan::AcousticProblemModel &aproblem, tympan::AcousticResultModel &aresult, tympan::LPSolverConfiguration configuration)
Launch the resolution and get the results.
virtual void deleteTrajets()=0
Delete all the Trajets.
virtual void displayRaysInGUI(tab_acoustic_path &tabRays)=0
Keep rays in tab in order to display them in GUI.
void init()
Initialize solver This method must be called after instantiation of a solver.
bool buildCalcStruct(const tympan::AcousticProblemModel &aproblem)
TYFaceSelector * getFaceSelector()
Get the face selector.
std::unique_ptr< TYFaceSelector > make_face_selector()
TYFaceSelector builder.
virtual void initAcousticModel()=0
Initialize the acoustic model.
Class to describe the acoustic problem.
Contains the results of the model solved.
Spectrum matrix N*M used to store results. N is the number of receptors. M is the number of sources.
This file provides class for solver configuration.
boost::shared_ptr< SolverConfiguration > LPSolverConfiguration