Block-Structured AMR Software Framework
 
Loading...
Searching...
No Matches
Arithmetic Types

Fundamental scalar arithmetic types used throughout AMReX. More...

Classes

struct  amrex::GpuComplex< T >
 A host / device complex number type, because std::complex doesn't work in device code with Cuda yet. More...
 

Typedefs

using amrex::Long = amrex_long
 
using amrex::ULong = amrex_ulong
 Unsigned integer type guaranteed to be wider than unsigned int.
 
using amrex::Real = amrex_real
 Floating Point Type for Fields.
 
using amrex::ParticleReal = amrex_particle_real
 Floating Point Type for Particles.
 

Detailed Description

Fundamental scalar arithmetic types used throughout AMReX.

These types define the default real, long integer, and complex number representations used by AMReX.

Central types include:

Typedef Documentation

◆ Long

using amrex::Long = typedef amrex_long

Signed integer type guaranteed to be wider than int.

◆ ParticleReal

Floating Point Type for Particles.

This is a floating point type used by default for ParticleContainer and related particle classes. This can be changed at compile time to run double, single or experimental floating point precisions for particle computations and storage.

◆ Real

using amrex::Real = typedef amrex_real

Floating Point Type for Fields.

This is a floating point type used by default for fields such as FArrayBox and MultiFab classes. This can be changed at compile time to run double, single or experimental floating point precisions for field computations and storage.

◆ ULong

using amrex::ULong = typedef amrex_ulong

Unsigned integer type guaranteed to be wider than unsigned int.