11#include <fhsim_environment/AggregationField.h>
12#include <fhsim_environment/AggregationSpec.h>
16namespace environment::field::aggregation
26 VerticalReference reference = VerticalReference::Surface;
28 std::array<double, 3>
velocity {0.0, 0.0, 0.0};
39double Reflect(
double x,
double low,
double high,
bool& flipped);
47std::vector<Member> Generate(
const AggregationSpec& spec, Random& random,
const DepthFunction& depth);
50void DrawVelocities(std::vector<Member>& members,
const AggregationSpec& spec, Random& random);
61bool Step(std::vector<Member>& members,
const AggregationSpec& spec, Random& random,
const DepthFunction& depth);
67std::vector<Member> ReadState(
const std::string& path);
70void PlaceOnSeabed(std::vector<Member>& members,
const DepthFunction& depth);
73void WriteState(
const std::string& path,
const std::vector<Member>& members);
std::array< double, 3 > velocity
{north, east, down} [m/s].
Definition Dynamics.h:28
double height
Height above the seabed [m], positive up. Used for the seabed reference.
Definition Dynamics.h:27