FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
DepthVaryingCurrentField.h
1#pragma once
3
4#include <marenv/calc/DepthAxis.h>
5#include <marenv/current/CurrentField.h>
6
7#include <vector>
8
9namespace marenv::current
10{
27{
28public:
37 DepthVaryingCurrentField(std::vector<double> velocity,
38 std::vector<double> directionRad,
39 std::vector<double> depthZ);
41
42 ~DepthVaryingCurrentField() override = default;
43
54 Status GetCurrent(double time,
55 const double position[3],
56 double currentVelocity[3]) override;
57
58private:
59 calc::DepthAxis m_axis;
60 std::vector<double> m_north;
61 std::vector<double> m_east;
62};
63} // namespace marenv::current
Definition DepthAxis.h:38
Defines the interface for an relaying information about ocean currents.
Definition CurrentField.h:13
Definition DepthVaryingCurrentField.h:27
Status GetCurrent(double time, const double position[3], double currentVelocity[3]) override
~DepthVaryingCurrentField() override=default
Default destructor.
DepthVaryingCurrentField(std::vector< double > velocity, std::vector< double > directionRad, std::vector< double > depthZ)
Status
Definition marenv.h:40