Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
Loading...
Searching...
No Matches
definitions.h File Reference
#include <stdint.h>
#include <limits>
Include dependency graph for definitions.h:

Go to the source code of this file.

Namespaces

namespace  vmesh
namespace  fsgrid

Macros

#define FS_STENCIL_WIDTH   2
#define MAX_NEIGHBORS_PER_DIM   8
#define MAX_FACE_NEIGHBORS_PER_DIM   4

Typedefs

typedef float Realf
typedef float Real = reshape(Vlasiator(cols+1:length(Vlasiator)-2), cols, lines)
typedef const float creal
typedef const int cint
typedef unsigned char uchar
typedef const unsigned char cuchar
typedef const uint32_t cuint
typedef cuint csize
typedef uint64_t CellID
typedef uint32_t vmesh::GlobalID
typedef uint32_t vmesh::LocalID
using FieldSolverGrid = fsgrid::FsGrid<FS_STENCIL_WIDTH>

Functions

template<typename T>
convert (const T &number)

Variables

static const GlobalID vmesh::INVALID_GLOBALID = std::numeric_limits<GlobalID>::max()
static const LocalID vmesh::INVALID_LOCALID = std::numeric_limits<LocalID>::max()
static const LocalID vmesh::INVALID_VEL_BLOCK_INDEX = INVALID_LOCALID

Macro Definition Documentation

◆ FS_STENCIL_WIDTH

#define FS_STENCIL_WIDTH   2

Definition at line 73 of file definitions.h.

◆ MAX_FACE_NEIGHBORS_PER_DIM

#define MAX_FACE_NEIGHBORS_PER_DIM   4

Definition at line 94 of file definitions.h.

◆ MAX_NEIGHBORS_PER_DIM

#define MAX_NEIGHBORS_PER_DIM   8

Definition at line 93 of file definitions.h.

Typedef Documentation

◆ CellID

typedef uint64_t CellID

Definition at line 54 of file definitions.h.

◆ cint

typedef const int cint

Definition at line 45 of file definitions.h.

◆ creal

typedef const float creal

Definition at line 42 of file definitions.h.

◆ csize

typedef cuint csize

Definition at line 52 of file definitions.h.

◆ cuchar

typedef const unsigned char cuchar

Definition at line 47 of file definitions.h.

◆ cuint

typedef const uint32_t cuint

Definition at line 50 of file definitions.h.

◆ FieldSolverGrid

Definition at line 78 of file definitions.h.

◆ Real

Truncating the first line away Real = reshape(Vlasiator(cols+1:length(Vlasiator)-2), cols, lines)

Definition at line 41 of file definitions.h.

◆ Realf

typedef float Realf

Definition at line 33 of file definitions.h.

◆ uchar

typedef unsigned char uchar

Definition at line 46 of file definitions.h.

Function Documentation

◆ convert()

template<typename T>
T convert ( const T & number)

Definition at line 56 of file definitions.h.

Here is the caller graph for this function: