FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
EnvironmentConfig.h
1#pragma once
2
8#include "seafloorForces/SeafloorForces.h"
9
10#include <fhsim/simobject/ISimObjectCreator.h>
11#include <fhsim_environment/ScalarField.h>
12#include <marenv/current/CurrentField.h>
13#include <marenv/seafloor/BathymetryField.h>
14#include <marenv/seafloor/BathymetryWaves.h>
15#include <marenv/wave/WaveField.h>
16#include <memory>
17#include <vector>
18
19namespace environment
20{
27{
33 explicit EnvironmentConfig(ISimObjectCreator* creator);
34
36 int randomSeed = 1;
38 std::shared_ptr<marenv::wave::WaveField> waves;
40 std::shared_ptr<marenv::seafloor::BathymetryWaves> bathymetry;
42 std::shared_ptr<marenv::seafloor::BathymetryField> seafloor;
44 std::shared_ptr<marenv::current::CurrentField> currents;
46 std::vector<std::shared_ptr<environment::field::ScalarField>> scalarFields;
48 std::shared_ptr<environment::SeafloorForces> seafloorForces;
49};
50} // namespace environment
Definition EnvironmentConfig.h:27
EnvironmentConfig(ISimObjectCreator *creator)
std::shared_ptr< environment::SeafloorForces > seafloorForces
Seafloor forces.
Definition EnvironmentConfig.h:48
std::shared_ptr< marenv::wave::WaveField > waves
Wave field.
Definition EnvironmentConfig.h:38
std::shared_ptr< marenv::seafloor::BathymetryWaves > bathymetry
Sum-of-sines bathymetry (also the seabed for the "SumOfSines" model, and the GPU seabed of the visual...
Definition EnvironmentConfig.h:40
int randomSeed
Random seed (RandomSeed, default 1): decides the wave-component phases and the sum-of-sines seabed.
Definition EnvironmentConfig.h:36
std::shared_ptr< marenv::current::CurrentField > currents
Current field.
Definition EnvironmentConfig.h:44
std::shared_ptr< marenv::seafloor::BathymetryField > seafloor
Active seabed used for physics queries (may be sum-of-sines or another model).
Definition EnvironmentConfig.h:42
std::vector< std::shared_ptr< environment::field::ScalarField > > scalarFields
Named scalar fields (temperature, salinity, species concentration). Empty when none are configured.
Definition EnvironmentConfig.h:46