Garfield 0.3
Toolkit for the detailed simulation of particle detectors based on ionization measurement in gases and semiconductors
Loading...
Searching...
No Matches
Vector.hh File Reference
#include <array>
#include <cstddef>

Go to the source code of this file.

Classes

class  Garfield::Vector< type, Dimension >
class  Garfield::Vec1Impl< type >
class  Garfield::Vec2Impl< type >
class  Garfield::Vec3Impl< type >

Namespaces

namespace  Garfield

Macros

#define __GARFIELD_DEFINED_DEVICE__
#define __device__
#define __host__

Typedefs

template<typename T, std::size_t D>
using GarfieldArray = std::array<T, D>
using Garfield::Vec3D = Vec3Impl<double>
using Garfield::Vec3F = Vec3Impl<float>

Macro Definition Documentation

◆ __device__

#define __device__

Definition at line 12 of file Vector.hh.

◆ __GARFIELD_DEFINED_DEVICE__

#define __GARFIELD_DEFINED_DEVICE__

Definition at line 11 of file Vector.hh.

◆ __host__

#define __host__

Definition at line 13 of file Vector.hh.

Typedef Documentation

◆ GarfieldArray

template<typename T, std::size_t D>
using GarfieldArray = std::array<T, D>

Definition at line 16 of file Vector.hh.