Cabana 0.8.0-dev
 
Loading...
Searching...
No Matches
Cabana::Field::Matrix< T, D0, D1 > Struct Template Reference

Matrix (2D) particle field type. More...

#include <Cabana_Fields.hpp>

Public Types

using value_type = T
 Field type.
 
using data_type = value_type[D0][D1]
 Scalar type.
 

Static Public Attributes

static constexpr int rank = 2
 Field rank.
 
static constexpr int size = D0 * D1
 Field total size.
 
static constexpr int dim0 = D0
 Field first dimension size.
 
static constexpr int dim1 = D1
 Field second dimension size.
 

Detailed Description

template<class T, int D0, int D1>
struct Cabana::Field::Matrix< T, D0, D1 >

Matrix (2D) particle field type.


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