Code_TYMPAN
4.2.0
Industrial site acoustic simulation
|
Default solver. More...
#include <TYSolver.h>
Public Member Functions | |
TYSolver () | |
Constructor. More... | |
virtual | ~TYSolver () |
Destructor. 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... | |
TYFaceSelector * | getFaceSelector () |
Get the face selector. More... | |
TYAcousticPathFinder * | getAcousticPathFinder () |
Get the acoustic path finder. More... | |
TYAcousticModel * | getAcousticModel () |
Get acoustic model. More... | |
const Scene * | getScene () const |
Get the Scene. More... | |
Public Member Functions inherited from SolverInterface | |
SolverInterface () | |
virtual | ~SolverInterface () |
virtual void | purge () |
Protected Member Functions | |
std::unique_ptr< TYFaceSelector > | make_face_selector () |
TYFaceSelector builder. More... | |
std::unique_ptr< TYAcousticPathFinder > | make_path_finder () |
TYAcousticPathFinder builder. More... | |
std::unique_ptr< TYAcousticModel > | make_acoustic_model () |
TYAcousticModel builder. More... | |
Protected Attributes | |
std::unique_ptr< TYFaceSelector > | _faceSelector |
Pointer to the TYFaceSelector. More... | |
std::unique_ptr< TYAcousticPathFinder > | _acousticPathFinder |
Pointer to the TYAcousticPathFinder. More... | |
std::unique_ptr< TYAcousticModel > | _acousticModel |
Pointer to the TYAcousticModel. More... | |
Private Member Functions | |
bool | buildCalcStruct (const tympan::AcousticProblemModel &aproblem) |
bool | appendTriangleToScene () |
Convertion des triangles Tympan en primitives utilisables par ray tracer. More... | |
Private Attributes | |
std::vector< TYStructSurfIntersect > | _tabPolygon |
Vector of TYStructSurfIntersect. More... | |
std::vector< TYTrajet * > | _tabTrajets |
Vector of TYTrajet. More... | |
OThreadPool * | _pool |
std::unique_ptr< Scene > | _scene |
Pointer to the Scene. More... | |
Default solver.
Definition at line 38 of file TYSolver.h.
TYSolver::TYSolver | ( | ) |
|
virtual |
Destructor.
Definition at line 50 of file TYSolver.cpp.
|
private |
Convertion des triangles Tympan en primitives utilisables par ray tracer.
Definition at line 213 of file TYSolver.cpp.
|
private |
Definition at line 183 of file TYSolver.cpp.
|
inline |
Get acoustic model.
Definition at line 60 of file TYSolver.h.
|
inline |
Get the acoustic path finder.
Definition at line 58 of file TYSolver.h.
|
inline |
Get the face selector.
Definition at line 57 of file TYSolver.h.
|
inline |
Get the Scene.
Definition at line 62 of file TYSolver.h.
|
inline |
Get the array of polygons.
Definition at line 55 of file TYSolver.h.
|
protected |
TYAcousticModel builder.
Definition at line 178 of file TYSolver.cpp.
|
protected |
TYFaceSelector builder.
Definition at line 168 of file TYSolver.cpp.
|
protected |
TYAcousticPathFinder builder.
Definition at line 173 of file TYSolver.cpp.
|
virtual |
Launch the resolution and get the results.
aproblem | Acoustic problem |
aresult | Results |
configuration | Solver configuration |
Implements SolverInterface.
Definition at line 66 of file TYSolver.cpp.
|
protected |
Pointer to the TYAcousticModel.
Definition at line 71 of file TYSolver.h.
|
protected |
Pointer to the TYAcousticPathFinder.
Definition at line 70 of file TYSolver.h.
|
protected |
Pointer to the TYFaceSelector.
Definition at line 69 of file TYSolver.h.
|
private |
Definition at line 89 of file TYSolver.h.
|
private |
Pointer to the Scene.
Definition at line 92 of file TYSolver.h.
|
private |
Vector of TYStructSurfIntersect.
Definition at line 85 of file TYSolver.h.
|
private |
Vector of TYTrajet.
Definition at line 87 of file TYSolver.h.