CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
BStorageArray Struct Reference

#include <Grid3D.h>

Public Member Functions

 BStorageArray ()
 
 BStorageArray (float x, float y, float z)
 
float const & operator[] (int i) const
 

Public Attributes

float v [3]
 

Detailed Description

Definition at line 19 of file Grid3D.h.

Constructor & Destructor Documentation

◆ BStorageArray() [1/2]

BStorageArray::BStorageArray ( )
inline

Definition at line 20 of file Grid3D.h.

20 {}

◆ BStorageArray() [2/2]

BStorageArray::BStorageArray ( float  x,
float  y,
float  z 
)
inline

Definition at line 21 of file Grid3D.h.

21 : v{x, y, z} {}

References x, y, and z.

Member Function Documentation

◆ operator[]()

float const& BStorageArray::operator[] ( int  i) const
inline

Definition at line 23 of file Grid3D.h.

23 { return v[i]; }

References mps_fire::i, and v.

Member Data Documentation

◆ v

float BStorageArray::v[3]

Definition at line 25 of file Grid3D.h.

Referenced by operator[]().

DDAxes::y
mps_fire.i
i
Definition: mps_fire.py:428
DDAxes::x
DDAxes::z
BStorageArray::v
float v[3]
Definition: Grid3D.h:25