Template Struct FieldsView

Struct Documentation

template<typename T>
struct FieldsView

Lightweight non-owning view of MHD fields.

Public Functions

inline explicit FieldsView(Array3DView<T> ro_, Array3DView<T> vx_, Array3DView<T> vy_, Array3DView<T> vz_, Array3DView<T> bx_, Array3DView<T> by_, Array3DView<T> bz_, Array3DView<T> ei_, Array3DView<T> ph_) noexcept
inline int extent(int dim) const noexcept

Get extent of specified dimension.

inline int size() const noexcept

Get total size (number of elements)