33#ifndef WOSS_CREATOR_DEFINITIONS_H
34#define WOSS_CREATOR_DEFINITIONS_H
41static constexpr inline double WOSS_CREATOR_MAX_FREQ_STEP = (1.0e20);
46 class TransducerHandler;
87 virtual std::unique_ptr<Woss>
const createWoss(
const CoordZ& tx,
const CoordZ& rx,
double start_freq,
double end_freq )
const = 0;
144 f_step = WOSS_CREATOR_MAX_FREQ_STEP;
157 f_step = WOSS_CREATOR_MAX_FREQ_STEP;
3D-Coordinates (lat, long, depth) class definitions and functions library
Definition coordinates-definitions.h:384
Data get(const std::shared_ptr< Location > &tx, const std::shared_ptr< Location > &rx) const
Definition woss-creator-container.cpp:153
void replace(const Data &data, const std::shared_ptr< Location > &tx, const std::shared_ptr< Location > &rx)
Definition woss-creator-container.h:533
static std::shared_ptr< Location > ALL_LOCATIONS
Definition woss-creator-container.h:119
void erase(const std::shared_ptr< Location > &tx, const std::shared_ptr< Location > &rx)
Definition woss-creator-container.h:501
Abstract class that provides correctly initialized Woss objects.
Definition woss-creator.h:53
WossCreator & setEvolutionTimeQuantum(double value, const std::shared_ptr< Location > &tx=CCInt::ALL_LOCATIONS, const std::shared_ptr< Location > &rx=CCInt::ALL_LOCATIONS)
Definition woss-creator.h:214
WossCreator & eraseFrequencyStep(const std::shared_ptr< Location > &tx=CCDouble::ALL_LOCATIONS, const std::shared_ptr< Location > &rx=CCDouble::ALL_LOCATIONS)
Definition woss-creator.h:194
WossCreator & eraseSimTime(const CoordZ &tx, const CoordZ &rx)
Definition woss-creator.h:353
WossCreator & setWrkDirPath(const std::string &path)
Definition woss-creator.h:120
WossCreator & setWossDebug(bool flag)
Definition woss-creator.h:94
bool usingWossDebug() const
Definition woss-creator.h:113
WossCreator & eraseEvolutionTimeQuantum(const CoordZ &tx, const CoordZ &rx)
Definition woss-creator.h:241
WossCreator & setFrequencyStep(double f_step, const CoordZ &tx, const CoordZ &rx)
Definition woss-creator.h:142
CCDouble ccevolution_time_quantum
Definition woss-creator.h:392
WossCreator & setWossDbManager(const std::shared_ptr< WossDbManager > &ptr)
Definition woss-creator.h:369
WossCreator & setDebug(bool flag)
Definition woss-creator.h:101
SimTime getSimTime(const std::shared_ptr< Location > &tx=CCSimTime::ALL_LOCATIONS, const std::shared_ptr< Location > &rx=CCSimTime::ALL_LOCATIONS) const
Definition woss-creator.h:344
bool usingDebug() const
Definition woss-creator.h:107
WossCreator()
Definition woss-creator.cpp:39
WossCreator & setTotalRuns(int runs, const CoordZ &tx, const CoordZ &rx)
Definition woss-creator.h:260
WossCreator & setTotalRuns(int runs, const std::shared_ptr< Location > &tx=CCInt::ALL_LOCATIONS, const std::shared_ptr< Location > &rx=CCInt::ALL_LOCATIONS)
Definition woss-creator.h:270
virtual ~WossCreator()=default
std::shared_ptr< WossDbManager > woss_db_manager
Definition woss-creator.h:380
WossCreator & eraseTotalRuns(const CoordZ &tx, const CoordZ &rx)
Definition woss-creator.h:297
SimTime getSimTime(const CoordZ &tx, const CoordZ &rx) const
Definition woss-creator.h:335
double getEvolutionTimeQuantum(const CoordZ &tx, const CoordZ &rx) const
Definition woss-creator.h:223
virtual void updateDebugFlag()
Definition woss-creator.cpp:57
WossCreator & setCleanWorkDir(bool flag)
Definition woss-creator.h:127
std::string work_dir_path
Definition woss-creator.h:387
WossCreator & setSimTime(const SimTime &simtime, const CoordZ &tx, const CoordZ &rx)
Definition woss-creator.h:316
CCSimTime ccsimtime_map
Definition woss-creator.h:407
CCInt cctotal_runs
Definition woss-creator.h:397
WossCreator & setTransducerHandler(const std::shared_ptr< TransducerHandler > &ptr)
Definition woss-creator.h:376
WossCreator & setEvolutionTimeQuantum(double value, const CoordZ &tx, const CoordZ &rx)
Definition woss-creator.h:204
double getFrequencyStep(const CoordZ &tx, const CoordZ &rx) const
Definition woss-creator.h:167
double getFrequencyStep(const std::shared_ptr< Location > &tx=CCDouble::ALL_LOCATIONS, const std::shared_ptr< Location > &rx=CCDouble::ALL_LOCATIONS) const
Definition woss-creator.h:176
CCDouble ccfrequency_step
Definition woss-creator.h:402
bool debug
Definition woss-creator.h:412
std::shared_ptr< TransducerHandler > transducer_handler
Definition woss-creator.h:382
int getTotalRuns(const std::shared_ptr< Location > &tx=CCInt::ALL_LOCATIONS, const std::shared_ptr< Location > &rx=CCInt::ALL_LOCATIONS) const
Definition woss-creator.h:288
virtual bool initializeWoss(Woss &woss_ref) const =0
Definition woss-creator.cpp:64
WossCreator & setSimTime(const SimTime &simtime, const std::shared_ptr< Location > &tx=CCSimTime::ALL_LOCATIONS, const std::shared_ptr< Location > &rx=CCSimTime::ALL_LOCATIONS)
Definition woss-creator.h:326
std::string getWrkDirPath() const
Definition woss-creator.h:133
virtual std::unique_ptr< Woss > const createWoss(const CoordZ &tx, const CoordZ &rx, double start_freq, double end_freq) const =0
WossCreator & eraseSimTime(const std::shared_ptr< Location > &tx=CCSimTime::ALL_LOCATIONS, const std::shared_ptr< Location > &rx=CCSimTime::ALL_LOCATIONS)
Definition woss-creator.h:361
bool woss_clean_workdir
Definition woss-creator.h:422
WossCreator & eraseEvolutionTimeQuantum(const std::shared_ptr< Location > &tx=CCInt::ALL_LOCATIONS, const std::shared_ptr< Location > &rx=CCInt::ALL_LOCATIONS)
Definition woss-creator.h:250
WossCreator & setFrequencyStep(double f_step, const std::shared_ptr< Location > &tx=CCDouble::ALL_LOCATIONS, const std::shared_ptr< Location > &rx=CCDouble::ALL_LOCATIONS)
Definition woss-creator.h:155
WossCreator & eraseFrequencyStep(const CoordZ &tx, const CoordZ &rx)
Definition woss-creator.h:185
double getEvolutionTimeQuantum(const std::shared_ptr< Location > &tx=CCInt::ALL_LOCATIONS, const std::shared_ptr< Location > &rx=CCInt::ALL_LOCATIONS) const
Definition woss-creator.h:232
bool woss_debug
Definition woss-creator.h:417
int getTotalRuns(const CoordZ &tx, const CoordZ &rx) const
Definition woss-creator.h:279
WossCreator & eraseTotalRuns(const std::shared_ptr< Location > &tx=CCInt::ALL_LOCATIONS, const std::shared_ptr< Location > &rx=CCInt::ALL_LOCATIONS)
Definition woss-creator.h:306
Abstract class that provides the interface for initializing and running a channel simulator.
Definition woss.h:76
Definition ac-toolbox-arr-asc-reader.h:44
Struct that stores start and end Time.
Definition time-definitions.h:336
Provides the interface for woss::WossCreatorContainer class.
Provides the interface for woss::Woss and woss::WossResReader classes.