|
World Ocean Simulation System (WOSS) library
|


Private Member Functions | |
| void | testTimeReference () |
| void | testSettings () |
| void | testExceptions () |
| void | testTime () |
| void | testRandomGenerator () |
| void | testCoordZ () |
| void | testSediment () |
| void | testSSP () |
| void | testBellhopCreator () |
| void | testBellhopWoss () |
| void | testPressure () |
| void | testTimeArr () |
| void | testDefHandler () |
| void | testPDouble () |
| void | testAltimetry () |
| void | testThreadPool () |
| void | testTransducer () |
| void | testTransducerHandler () |
| void | testLocation () |
| void | testArrDataAndReaders () |
| void | testShdDataAndReaders () |
| void | testCustomDataContainer () |
| void | testResPressureDb () |
| void | testResTimeArrDb () |
| void | testWossDbManager () |
| void | testWossCreatorContainer () |
Additional Inherited Members | |
| Protected Member Functions inherited from woss::WossTest | |
| void | config () |
| void | init () |
| Protected Attributes inherited from woss::WossTest | |
| bool | debug |
| debug flag | |
| std::unique_ptr< SSP > | ssp_proto |
| SSP prototype which will be plugged into the WOSS framework. | |
| std::unique_ptr< Sediment > | sediment_proto |
| Sediment prototype which will be plugged into the WOSS framework. | |
| std::unique_ptr< Pressure > | pressure_proto |
| Pressure prototype which will be plugged into the WOSS framework. | |
| std::unique_ptr< TimeArr > | time_arr_proto |
| TimeArr prototype which will be plugged into the WOSS framework. | |
| std::unique_ptr< Transducer > | transducer_proto |
| Transducer prototype which will be plugged into the WOSS framework. | |
| std::unique_ptr< AltimBretschneider > | altim_bret_proto |
| AltimBretschneider prototype which will be plugged into the WOSS framework. | |
| std::unique_ptr< Location > | location_proto |
| Location prototype which will be plugged into the WOSS framework. | |
| int | woss_random_gen_stream |
| random generator used by the WOSS framework. | |
| std::unique_ptr< RandomGenerator > | random_gen_proto |
| RandomGenerator prototype which will be plugged into the WOSS framework. | |
| std::unique_ptr< TimeReference > | time_ref_proto |
| TimeReference prototype which will be plugged into the WOSS framework. | |
| DefHandler & | def_handler |
| Definition Handler object allocated by the helper. | |
| bool | res_db_creator_debug |
| enable/disable the debug prints of the woss results database creator. | |
| bool | res_db_debug |
| enable/disable the debug prints of the woss result databases. | |
| bool | res_db_use_binary |
| set up the woss result database format: binary or textual. | |
| bool | res_db_use_time_arr |
| set up the woss result databases data format: power delay profile. | |
| bool | res_db_use_pressure |
| set up the woss result databases data format: single pressure tap. | |
| double | res_db_space_sampling |
| set up the woss result database 2D spatial sampling | |
| std::string | res_db_file_path |
| set up the woss result database file path | |
| std::string | res_db_file_name |
| set up the woss result database file name (without path) | |
| std::shared_ptr< ResPressureBinDbCreator > | res_db_creator_press_bin |
| the helper will automatically allocate the desired result database creator based on current configuration. | |
| std::shared_ptr< ResPressureTxtDbCreator > | res_db_creator_press_txt |
| the helper will automatically allocate the desired result database creator based on current configuration. | |
| std::shared_ptr< ResTimeArrBinDbCreator > | res_db_creator_time_arr_bin |
| the helper will automatically allocate the desired result database creator based on current configuration. | |
| std::shared_ptr< ResTimeArrTxtDbCreator > | res_db_creator_time_arr_txt |
| the helper will automatically allocate the desired result database creator based on current configuration. | |
| DECK41DbType | sedim_deck41_db_type |
| DECK41 db data format type. | |
| bool | sedim_db_creator_debug |
| enable/disable the debug prints of the woss sediment database creator. | |
| bool | sedim_db_debug |
| enable/disable the debug prints of the woss sediment database. | |
| std::string | sedim_db_coord_file_path |
| setup the path of the sediment database indexed by geographical coordinates with decimal degrees resolution | |
| std::string | sedim_db_marsden_file_path |
| setup the path of the sediment database indexed by geographical coordinates with marsden square resolution | |
| std::string | sedim_db_marsden_one_file_path |
| setup the path of the sediment database indexed by geographical coordinates with marsden one square resolution | |
| std::shared_ptr< SedimDeck41DbCreator > | sedim_db_creator |
| the helper will automatically allocate the woss sediment database creator | |
| bool | ssp_db_creator_debug |
| enable/disable the debug prints of the woss SSP database creator. | |
| bool | ssp_db_debug |
| enable/disable the debug prints of the woss SSP database. | |
| std::string | ssp_db_file_path |
| setup the path of the woss monthly SSP database indexed by geographical coordinates | |
| WOADbType | ssp_woa_db_type |
| WOA SSP Db Type. | |
| std::shared_ptr< SspWoa2005DbCreator > | ssp_db_creator |
| the helper will automatically allocate the woss sediment database creator | |
| bool | bathy_db_creator_debug |
| enable/disable the debug prints of the woss Bathymetry database creator. | |
| bool | bathy_db_debug |
| enable/disable the debug prints of the woss Bathymetry database (GEBCO). | |
| GEBCO_BATHY_TYPE | bathy_db_gebco_format |
| setup the the GEBCO database format | |
| std::string | bathy_db_file_path |
| setup the path of the woss GEBCO database | |
| std::shared_ptr< BathyGebcoDbCreator > | bathy_db_creator |
| the helper will automatically allocate the woss GEBCO bathymetry db creator | |
| bool | woss_db_manager_debug |
| enable/disable the debug prints of the woss DB manager object. | |
| std::shared_ptr< WossDbManager > | woss_db_manager |
| the helper will automatically allocate the woss DB manager | |
| bool | woss_creator_debug |
| enable/disable the debug prints of the woss creator. | |
| bool | woss_debug |
| enable/disable the debug prints of all woss objects | |
| bool | woss_clear_work_dir |
| woss object configuration: clear the temporary files created by the underlying channel simulator | |
| double | evolution_time_quantum |
| woss object configuration: evolution time quantum | |
| int | total_runs |
| woss object configuration: total number of channel simulator runs | |
| double | frequency_step |
| woss object configuration: number of frequency steps | |
| double | total_range_steps |
| woss object configuration: tx - rx range sampling in meters | |
| double | tx_min_depth_offset |
| woss object configuration: transmitter min offset in meters | |
| double | tx_max_depth_offset |
| woss object configuration: transmitter max offset in meters | |
| int | total_transmitters |
| woss object configuration: total number of transmitting sources | |
| int | total_rx_depths |
| woss object configuration: receiver depth sampling | |
| double | rx_min_depth_offset |
| woss object configuration: receiver min depth offset in meters | |
| double | rx_max_depth_offset |
| woss object configuration: receiver max depth offset in meters | |
| int | total_rx_ranges |
| woss object configuration: receiver range sampling | |
| double | rx_min_range_offset |
| woss object configuration: receiver min range offset in meters | |
| double | rx_max_range_offset |
| woss object configuration: receiver max range offset in meters | |
| double | total_rays |
| woss object configuration: total number of rays (0 = automatic) | |
| double | min_angle |
| woss object configuration: minimum vertical angle in decimal degrees | |
| double | max_angle |
| woss object configuration: maximum vertical angle in decimal degrees | |
| bool | use_thorpe_att |
| woss object configuration: use thorpe attenuation in channel computation | |
| double | ssp_depth_precision |
| woss object configuration: SSP depth precision in meters | |
| double | normalized_ssp_depth_steps |
| woss object configuration: SSP depth quantization steps | |
| std::string | work_dir_path |
| woss object configuration: path of the temporary directory | |
| std::string | bellhop_path |
| woss object configuration: path of the Bellhop executable | |
| std::string | bellhop_bin_name |
| woss object configuration: Bellhop binary name | |
| std::string | bellhop_mode |
| woss object configuration: Bellhop mode string | |
| std::string | bellhop_beam_options |
| woss object configuration: Bellhop beam option string | |
| std::string | bellhop_bathy_type |
| woss object configuration: Bellhop bathymetry type string | |
| std::string | bellhop_bathy_method |
| woss object configuration: Bathymetry write method string | |
| std::string | bellhop_altim_type |
| woss object configuration: Bellhop Altimetry type string | |
| BellhopArrSyntax | bellhop_arr_syntax |
| woss object configration: Bellhop Arr file syntax to be used during .arr file parsing | |
| BellhopShdSyntax | bellhop_shd_syntax |
| woss object configration: Bellhop Shd file syntax to be used during .shd file parsing | |
| SimTime | sim_time |
| woss object configuration: woss simulation times (start and end sim times) | |
| std::shared_ptr< BellhopCreator > | bellhop_creator |
| the helper will automatically allocate the woss creator | |
| double | box_depth |
| woss object configuration: maximum depth to trace rays to; deeper rays will be ignored | |
| double | box_range |
| woss object configuration: maximum range to trace rats to; longer rays will be ignored | |
| bool | woss_manager_debug |
| enable/disable the debug prints of the woss manager. | |
| bool | time_evolution_active |
| enable/disable the time evolution feature. | |
| unsigned int | concurrent_threads |
| number of concurrent threads (0 = auto). | |
| double | woss_manager_space_sampling |
| woss manager space sampling in meters | |
| bool | woss_manager_use_multithread |
| enable/disable the multithread feature | |
| bool | woss_manager_use_thread_pool |
| enable/disable woss::ThreadPool usage | |
| std::shared_ptr< WossManagerSimple< WossManagerResDb > > | woss_manager_simple |
| the helper will automatically allocate the desired woss manager based on current configuration. | |
| std::shared_ptr< WossManagerSimple< WossManagerResDbMT > > | woss_manager_multi |
| the helper will automatically allocate the desired woss manaeger based on current configuration. | |
| bool | woss_transducer_handler_debug |
| enable/disable the debug prints of the woss transducer handler. | |
| std::shared_ptr< TransducerHandler > | woss_transducer_handler |
| the helper will automatically allocate the woss Transducer handler. | |
| bool | woss_controller_debug |
| enable/disable the debug prints of the woss conteroller | |
| std::shared_ptr< WossController > | woss_controller |
| the helper will automatically allocate the woss controller. | |
| bool | initialized |
| initialization complete flag. | |
|
default |
|
virtualdefault |
|
overridevirtual |
Virtual function that allows the derived class to perform its custom configuration phase
Implements woss::WossTest.
References woss::WossTest::setWossTestDebug().

|
overridevirtual |
Virtual function that allows the derived class to perform its custom initialization phase
Implements woss::WossTest.
|
overridevirtual |
Virtual function that allows the derived class to perform its custom run phase
Implements woss::WossTest.
References woss::WossTest::debug, testAltimetry(), testArrDataAndReaders(), testBellhopCreator(), testBellhopWoss(), testCoordZ(), testCustomDataContainer(), testDefHandler(), testExceptions(), testLocation(), testPDouble(), testPressure(), testRandomGenerator(), testResPressureDb(), testResTimeArrDb(), testSediment(), testSettings(), testShdDataAndReaders(), testSSP(), testThreadPool(), testTime(), testTimeArr(), testTimeReference(), testTransducer(), testTransducerHandler(), testWossCreatorContainer(), and testWossDbManager().

|
private |
References woss::WossTest::debug, woss::Singleton< DefHandler >::instance(), woss::WOSS_ERROR_INVALID_PARAM, and woss::WOSS_ERROR_WRONG_STATE.
Referenced by doRun().

|
private |
References woss::WossTest::debug, woss::ArrData::frequency, woss::ArrData::getTimeArrIndex(), woss::ArrData::initialize(), woss::ArrData::Nrd, woss::ArrData::Nrr, woss::ArrData::Nsd, woss::ArrData::rx_depths, woss::ArrData::rx_ranges, woss::ArrData::tx_depths, woss::WOSS_ERROR_OUT_OF_RANGE_PARAM, and woss::WOSS_ERROR_WRONG_STATE.
Referenced by doRun().

|
private |
References woss::WossTest::debug, woss::SimTime::end_time, woss::WossCreator::eraseEvolutionTimeQuantum(), woss::WossCreator::eraseFrequencyStep(), woss::BellhopCreator::eraseRaysNumber(), woss::WossCreator::eraseSimTime(), woss::BellhopCreator::getBellhopBinName(), woss::BellhopCreator::getBellhopPath(), woss::WossCreator::getEvolutionTimeQuantum(), woss::WossCreator::getFrequencyStep(), woss::BellhopCreator::getRaysNumber(), woss::WossCreator::getSimTime(), woss::BellhopCreator::getThorpeAttFlag(), woss::WossCreator::getTotalRuns(), woss::BellhopCreator::getTxMinDepthOffset(), woss::BellhopCreator::setBellhopBinName(), woss::BellhopCreator::setBellhopPath(), woss::WossCreator::setEvolutionTimeQuantum(), woss::WossCreator::setFrequencyStep(), woss::BellhopCreator::setRaysNumber(), woss::WossCreator::setSimTime(), woss::BellhopCreator::setThorpeAttFlag(), woss::WossCreator::setTotalRuns(), woss::BellhopCreator::setTxMinDepthOffset(), woss::WossCreator::setWossDebug(), woss::SimTime::start_time, woss::WossCreator::usingWossDebug(), woss::BellhopWoss::WOSS_BELLHOP_BIN_NAME, and woss::WOSS_ERROR_INVALID_PARAM.
Referenced by doRun().

|
private |
References woss::WossTest::debug, woss::BellhopWoss::getBellhopBinName(), woss::BellhopWoss::getBellhopPath(), woss::BellhopWoss::getMaxAngle(), woss::Woss::getMaxFrequency(), woss::BellhopWoss::getMinAngle(), woss::Woss::getMinFrequency(), woss::BellhopWoss::getRaysNumber(), woss::Woss::getRxCoordZ(), woss::BellhopWoss::getThorpeAttFlag(), woss::Woss::getTxCoordZ(), woss::BellhopWoss::isValid(), woss::BellhopWoss::setBellhopBinName(), woss::BellhopWoss::setBellhopPath(), woss::BellhopWoss::setMaxAngle(), woss::BellhopWoss::setMinAngle(), woss::BellhopWoss::setRaysNumber(), woss::BellhopWoss::setThorpeAttFlag(), woss::BellhopWoss::WOSS_BELLHOPCXX_BIN_NAME, woss::WOSS_ERROR_INVALID_PARAM, and woss::WOSS_ERROR_WRONG_STATE.
Referenced by doRun().

|
private |
References woss::WossTest::debug, woss::CoordZ::getDepth(), woss::Coord::getLatitude(), woss::Coord::getLongitude(), and woss::WOSS_ERROR_INVALID_PARAM.
Referenced by doRun().

|
private |
References woss::WossTest::debug, woss::CustomDataContainer< T, MidFunctor, InFunctor, Data, OutComp, MidComp, InComp >::erase(), woss::CustomDataContainer< T, MidFunctor, InFunctor, Data, OutComp, MidComp, InComp >::get(), woss::CustomDataTimeContainer< T, MidFunctor, InFunctor, Data, OutComp, MidComp, InComp >::get(), woss::CustomDataContainer< T, MidFunctor, InFunctor, Data, OutComp, MidComp, InComp >::insert(), woss::CustomDataTimeContainer< T, MidFunctor, InFunctor, Data, OutComp, MidComp, InComp >::insert(), woss::Singleton< DefHandler >::instance(), woss::CustomDataContainer< T, MidFunctor, InFunctor, Data, OutComp, MidComp, InComp >::replace(), and woss::WOSS_ERROR_INVALID_PARAM.
Referenced by doRun().

|
private |
References woss::DefHandler::createAltimetry(), woss::DefHandler::createLocation(), woss::DefHandler::createPressure(), woss::DefHandler::createPressureArray(), woss::DefHandler::createSediment(), woss::DefHandler::createSSP(), woss::DefHandler::createTimeArr(), woss::DefHandler::createTimeArrArray(), woss::DefHandler::createTransducer(), woss::WossTest::debug, woss::DefHandler::getDebug(), woss::Singleton< DefHandler >::instance(), woss::DefHandler::setAltimetry(), woss::DefHandler::setDebug(), woss::DefHandler::setLocation(), woss::DefHandler::setPressure(), woss::DefHandler::setSediment(), woss::DefHandler::setSSP(), woss::DefHandler::setTimeArr(), woss::DefHandler::setTransducer(), woss::WOSS_ERROR_INVALID_PARAM, and woss::WOSS_ERROR_OUT_OF_RANGE_PARAM.
Referenced by doRun().

|
private |
References woss::WossTest::debug, woss::WossException::getErrorType(), woss::WossException::getInfo(), woss::WOSS_ERROR_INVALID_PARAM, and woss::WOSS_ERROR_UNKNOWN.
Referenced by doRun().

|
private |
References woss::WossTest::debug, woss::Singleton< DefHandler >::instance(), and woss::WOSS_ERROR_INVALID_PARAM.
Referenced by doRun().

|
private |
References woss::WossTest::debug, woss::PDouble::getPrecision(), woss::PDouble::getValue(), and woss::WOSS_ERROR_INVALID_PARAM.
Referenced by doRun().

|
private |
References woss::Pressure::abs(), woss::Pressure::clone(), woss::Pressure::create(), woss::Pressure::createArray(), woss::Pressure::createNotValid(), woss::WossTest::debug, woss::Pressure::getTxLossDb(), woss::Pressure::imag(), woss::TimeArr::insertValue(), woss::Pressure::real(), and woss::WOSS_ERROR_INVALID_PARAM.
Referenced by doRun().

|
private |
References woss::RandomGenerator::clone(), woss::WossTest::debug, woss::RandomGenerator::getRand(), woss::RandomGenerator::getSeed(), woss::RandomGenerator::initialize(), woss::RandomGenerator::isValid(), and woss::WOSS_ERROR_INVALID_PARAM.
Referenced by doRun().

|
private |
References woss::ResPressureBinDbCreator::createWossDb(), woss::ResPressureTxtDbCreator::createWossDb(), woss::WossTest::debug, woss::Singleton< DefHandler >::instance(), woss::WossDbCreator::setDbPathName(), woss::ResPressureTxtDbCreator::setSpaceSampling(), and woss::WOSS_ERROR_INVALID_PARAM.
Referenced by doRun().

|
private |
References woss::ResTimeArrBinDbCreator::createWossDb(), woss::ResTimeArrTxtDbCreator::createWossDb(), woss::WossTest::debug, woss::Singleton< DefHandler >::instance(), woss::WossDbCreator::setDbPathName(), and woss::WOSS_ERROR_INVALID_PARAM.
Referenced by doRun().

|
private |
References woss::WossTest::debug, woss::Sediment::getType(), woss::Singleton< DefHandler >::instance(), woss::WOSS_ERROR_INVALID_PARAM, and woss::WOSS_ERROR_WRONG_STATE.
Referenced by doRun().

|
private |
References woss::WossTest::debug, woss::WossTest::getResDbCreatorDebug(), woss::WossTest::getWossRandomGenStream(), woss::WossTest::setResDbCreatorDebug(), woss::WossTest::setWossRandomGenStream(), woss::WOSS_ERROR_INVALID_PARAM, and woss::WOSS_ERROR_WRONG_STATE.
Referenced by doRun().

|
private |
References woss::WossTest::debug, woss::ShdData::getPressureIndex(), woss::ShdData::initialize(), woss::ShdData_v1::initialize(), woss::ShdData::Nrd, woss::ShdData::Nrr, woss::ShdData::Nsd, woss::ShdData::Ntheta, woss::ShdData::rx_depths, woss::ShdData::rx_ranges, woss::ShdData::theta, woss::ShdData::tx_depths, woss::WOSS_ERROR_INVALID_PARAM, and woss::WOSS_ERROR_WRONG_STATE.
Referenced by doRun().

|
private |
References woss::WossTest::debug, woss::Singleton< DefHandler >::instance(), woss::WOSS_ERROR_INVALID_PARAM, woss::WOSS_ERROR_OUT_OF_RANGE_PARAM, and woss::WOSS_ERROR_WRONG_STATE.
Referenced by doRun().

|
private |
References woss::WossTest::debug, woss::ThreadPool::getNumThreads(), woss::ThreadPool::submit(), and woss::WOSS_ERROR_INVALID_PARAM.
Referenced by doRun().

|
private |
References woss::WossTest::debug, woss::Time::getDay(), woss::Time::getHours(), woss::Time::getMonth(), woss::Time::getYear(), woss::Time::isValid(), woss::Time::setDay(), woss::Time::setMonth(), woss::Time::setYear(), and woss::WOSS_ERROR_INVALID_PARAM.
Referenced by doRun().

|
private |
References woss::WossTest::debug, woss::Singleton< DefHandler >::instance(), woss::WOSS_ERROR_INVALID_PARAM, and woss::WOSS_ERROR_WRONG_STATE.
Referenced by doRun().

|
private |
References woss::WossTest::debug, woss::TestTimeReference::getTimeReference(), woss::TestTimeReference::setTimeReference(), and woss::WOSS_ERROR_INVALID_PARAM.
Referenced by doRun().

|
private |
References woss::Transducer::beampattern_end(), woss::Transducer::beampattern_find(), woss::Transducer::beampattern_insert(), woss::Transducer::beampattern_multiply(), woss::Transducer::beampattern_rotate(), woss::Transducer::beampattern_size(), woss::Transducer::beampattern_sum(), woss::Transducer::clone(), woss::Transducer::create(), woss::WossTest::debug, woss::Transducer::isValid(), woss::Transducer::ocv_find(), woss::Transducer::ocv_insert(), woss::Transducer::tvr_find(), woss::Transducer::tvr_insert(), woss::WOSS_ERROR_INVALID_PARAM, and woss::WOSS_ERROR_WRONG_STATE.
Referenced by doRun().

|
private |
References woss::Transducer::beampattern_insert(), woss::WossTest::debug, woss::TransducerHandler::empty(), woss::TransducerHandler::eraseValue(), woss::TransducerHandler::getValue(), woss::TransducerHandler::insertValue(), woss::TransducerHandler::replaceValue(), woss::Transducer::setTypeName(), woss::TransducerHandler::size(), woss::WOSS_ERROR_INVALID_PARAM, and woss::WOSS_ERROR_WRONG_STATE.
Referenced by doRun().

|
private |
References woss::CustomTransducer::add_costant, woss::WossCreatorContainer< Data >::ALL_COORDZ, woss::WossCreatorContainer< Data >::ALL_LOCATIONS, woss::WossCreatorContainer< Data >::clear(), woss::WossTest::debug, woss::SimTime::end_time, woss::WossCreatorContainer< Data >::erase(), woss::WossCreatorContainer< Data >::get(), woss::CustomTransducer::initial_bearing, woss::CustomTransducer::initial_horiz_rotation, woss::CustomTransducer::initial_vert_rotation, woss::WossCreatorContainer< Data >::insert(), woss::Singleton< DefHandler >::instance(), woss::WossCreatorContainer< Data >::isEmpty(), woss::CustomAngles::max_angle, woss::CustomAngles::min_angle, woss::CustomTransducer::multiply_costant, woss::WossCreatorContainer< Data >::replace(), woss::WossCreatorContainer< Data >::setDebug(), woss::WossCreatorContainer< Data >::size(), woss::SimTime::start_time, woss::CustomTransducer::type, woss::WOSS_ERROR_INVALID_PARAM, and woss::WOSS_ERROR_WRONG_STATE.
Referenced by doRun().

|
private |
References woss::WossTest::debug, woss::WossDbManager::eraseCustomAltimetry(), woss::WossDbManager::getCustomAltimetry(), woss::WossDbManager::getCustomBathymetry(), woss::WossDbManager::getCustomSediment(), woss::WossDbManager::getCustomSSP(), woss::Singleton< DefHandler >::instance(), woss::WossDbManager::setCustomAltimetry(), woss::WossDbManager::setCustomBathymetry(), woss::WossDbManager::setCustomSediment(), woss::WossDbManager::setCustomSSP(), and woss::WOSS_ERROR_INVALID_PARAM.
Referenced by doRun().
