Code_TYMPAN  4.4.0
Industrial site acoustic simulation
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
TYSolver9613Solver Class Reference

9613 Solver More...

#include <TYSolver9613Solver.h>

Inheritance diagram for TYSolver9613Solver:
Inheritance graph
[legend]
Collaboration diagram for TYSolver9613Solver:
Collaboration graph
[legend]

Public Member Functions

 TYSolver9613Solver ()
 Constructor. More...
 
virtual ~TYSolver9613Solver ()
 Destructor. More...
 
virtual TYAcousticModel9613SolvergetAcousticModel ()
 Get acoustic model. More...
 
void buildAcousticModel () override
 
- Public Member Functions inherited from TYSolver
 TYSolver ()
 Constructor. More...
 
virtual ~TYSolver ()
 Destructor. More...
 
void init ()
 Initialize solver This method must be called after instantiation of a solver. More...
 
virtual bool solve (const tympan::AcousticProblemModel &aproblem, tympan::AcousticResultModel &aresult, tympan::LPSolverConfiguration configuration)
 Launch the resolution and get the results. More...
 
const std::vector< TYStructSurfIntersect > & getTabPolygon () const
 Get the array of polygons. More...
 
TYFaceSelectorgetFaceSelector ()
 Get the face selector. More...
 
TYAcousticPathFindergetAcousticPathFinder ()
 Get the acoustic path finder. More...
 
const ScenegetScene () const
 Get the Scene. More...
 
void selectFaces (std::deque< TYSIntersection > &tabIntersect, const OSegment3D &rayon, const string &sourceVolumeId)
 Delegate to _faceSelector the build of the array of intersections. More...
 
- Public Member Functions inherited from SolverInterface
 SolverInterface ()
 
virtual ~SolverInterface ()
 
virtual void purge ()
 

Protected Member Functions

virtual std::unique_ptr< TYAcousticModel9613Solvermake_acoustic_model ()
 TYAcousticModel builder. More...
 
- Protected Member Functions inherited from TYSolver
std::unique_ptr< TYFaceSelectormake_face_selector ()
 TYFaceSelector builder. More...
 
std::unique_ptr< TYAcousticPathFindermake_path_finder ()
 TYAcousticPathFinder builder. More...
 

Protected Attributes

std::unique_ptr< TYAcousticModel9613Solver_acousticModel
 Pointer to the TYAcousticModel. More...
 
- Protected Attributes inherited from TYSolver
std::unique_ptr< TYFaceSelector_faceSelector
 Pointer to the TYFaceSelector. More...
 
std::unique_ptr< TYAcousticPathFinder_acousticPathFinder
 Pointer to the TYAcousticPathFinder. More...
 
OThreadPool_pool
 

Private Member Functions

void clearTabTrajets () override
 Clear the array of TYTrajet9613Solver. More...
 
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. More...
 
void initAcousticModel () override
 Initialize the acoustic model. More...
 
void displayRaysInGUI (tab_acoustic_path &) override
 Keep rays in tab in order to display them in GUI. More...
 
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 resulting spectrum of acoustic pressure in Pa at each receptor due to this source. More...
 
void deleteTrajets () override
 Delete all the Trajets. More...
 

Private Attributes

std::vector< TYTrajet9613Solver * > _tabTrajets
 Vector of TYTrajet9613Solver. More...
 

Detailed Description

9613 Solver

Definition at line 34 of file TYSolver9613Solver.h.

Constructor & Destructor Documentation

◆ TYSolver9613Solver()

TYSolver9613Solver::TYSolver9613Solver ( )

Constructor.

Definition at line 23 of file TYSolver9613Solver.cpp.

◆ ~TYSolver9613Solver()

TYSolver9613Solver::~TYSolver9613Solver ( )
virtual

Destructor.

Definition at line 25 of file TYSolver9613Solver.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ addNewTaskForOneTrajetSrcRcp()

void TYSolver9613Solver::addNewTaskForOneTrajetSrcRcp ( const tympan::AcousticProblemModel aproblem,
unsigned int  src_index,
unsigned int  rcp_index,
int  nbTrajectsForThisSource,
int  nNbTrajets 
)
overrideprivatevirtual

Instanciate a new task to compute a Trajet.

Parameters
aproblemThe acoustic problem
src_indexIndex of the source in the acoustic problem
rcp_indexIndex of the receptor in the acoustic problem
nbTrajetsForThisSourceNumber of routes already created for the considered source
nNbTrajetsTotal number of routes already created

Implements TYSolver.

Definition at line 43 of file TYSolver9613Solver.cpp.

Here is the call graph for this function:

◆ buildAcousticModel()

void TYSolver9613Solver::buildAcousticModel ( )
overridevirtual

Implements TYSolver.

Definition at line 58 of file TYSolver9613Solver.cpp.

Here is the call graph for this function:

◆ buildResultsMatrix()

void TYSolver9613Solver::buildResultsMatrix ( int  nSourceTrajetsNumber,
tympan::SpectrumMatrix matrix 
)
overrideprivatevirtual

Build the matrix of the results for a given source and all the receptors These results are the resulting spectrum of acoustic pressure in Pa at each receptor due to this source.

Parameters
nSourceTrajetsNumberThe number of routes for a given source to all the receptors
matrixThe global contribution matrix

Implements TYSolver.

Definition at line 82 of file TYSolver9613Solver.cpp.

◆ clearTabTrajets()

void TYSolver9613Solver::clearTabTrajets ( )
overrideprivatevirtual

Clear the array of TYTrajet9613Solver.

Returns

Implements TYSolver.

Definition at line 35 of file TYSolver9613Solver.cpp.

Here is the caller graph for this function:

◆ deleteTrajets()

void TYSolver9613Solver::deleteTrajets ( )
overrideprivatevirtual

Delete all the Trajets.

Implements TYSolver.

Definition at line 93 of file TYSolver9613Solver.cpp.

◆ displayRaysInGUI()

void TYSolver9613Solver::displayRaysInGUI ( tab_acoustic_path tabRays)
overrideprivatevirtual

Keep rays in tab in order to display them in GUI.

Parameters
tabRaysThe tab of rays

Implements TYSolver.

Definition at line 71 of file TYSolver9613Solver.cpp.

◆ getAcousticModel()

virtual TYAcousticModel9613Solver* TYSolver9613Solver::getAcousticModel ( )
inlinevirtual

Get acoustic model.

Definition at line 40 of file TYSolver9613Solver.h.

Here is the caller graph for this function:

◆ initAcousticModel()

void TYSolver9613Solver::initAcousticModel ( )
overrideprivatevirtual

Initialize the acoustic model.

Implements TYSolver.

Definition at line 66 of file TYSolver9613Solver.cpp.

◆ make_acoustic_model()

std::unique_ptr< TYAcousticModel9613Solver > TYSolver9613Solver::make_acoustic_model ( )
protectedvirtual

TYAcousticModel builder.

Reimplemented in TYSolver9613Solver2024.

Definition at line 30 of file TYSolver9613Solver.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ _acousticModel

std::unique_ptr<TYAcousticModel9613Solver> TYSolver9613Solver::_acousticModel
protected

Pointer to the TYAcousticModel.

Definition at line 52 of file TYSolver9613Solver.h.

◆ _tabTrajets

std::vector<TYTrajet9613Solver*> TYSolver9613Solver::_tabTrajets
private

Vector of TYTrajet9613Solver.

Definition at line 55 of file TYSolver9613Solver.h.


The documentation for this class was generated from the following files: