MoorDyn
Public Member Functions | Public Attributes | Protected Attributes | List of all members
moordyn::GridXYZT Class Reference

A rectilinear grid with x, y, z, and t axes. More...

#include <Waves.hpp>

Inheritance diagram for moordyn::GridXYZT:
Inheritance graph
[legend]

Public Member Functions

 GridXYZT (const std::vector< real > &px, const std::vector< real > &py, const std::vector< real > &pz, unsigned int nt, real dt)
 

Public Attributes

unsigned int nx
 number of grid points in x direction
 
unsigned int ny
 number of grid points in y direction
 
unsigned int nz
 number of grid points in z direction
 
unsigned int nt = 0
 number of time steps used in wave kinematics time series
 
real dtWave
 time step for wave kinematics time series
 

Protected Attributes

std::vector< realpx
 grid x coordinate arrays
 
std::vector< realpy
 grid y coordinate arrays
 
std::vector< realpz
 grid z coordinate arrays
 

Detailed Description

A rectilinear grid with x, y, z, and t axes.

The x, y, and z axis are defined by arbitrary lists of sorted values, and the time axis is represented by some number of equally spaced times starting at zero.


The documentation for this class was generated from the following file: