![]() |
Block-Structured AMR Software Framework
|
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. | |
| using | amrex::ParticleMeshReal = std::common_type_t<Real, ParticleReal> |
| Floating Point Type for Particle-Mesh Operations. | |
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:
| using amrex::Long = amrex_long |
Signed integer type guaranteed to be wider than int.
| using amrex::ParticleMeshReal = std::common_type_t<Real, ParticleReal> |
Floating Point Type for Particle-Mesh Operations.
The wider of amrex::Real and amrex::ParticleReal. Use it for the intermediate results of operations that mix particle and field data, such as deposition and interpolation, so that they are rounded only when the final value is stored.
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.
| using amrex::Real = amrex_real |
| using amrex::ULong = amrex_ulong |
Unsigned integer type guaranteed to be wider than unsigned int.