Go to the source code of this file.
Data Structures | |
struct | ckcomplex |
Typedefs | |
typedef fftw_real | RealType |
typedef ckcomplex | complex |
Functions | |
PUPbytes (ckcomplex) inline int isfinite(complex aNum) | |
Overload std::isfinite for complex numbers. | |
RealType | norm (complex aNum) |
Like std::norm, return the square of the distance from (0,0) in the complex number plane. | |
RealType | abs (complex aNum) |
Return the distance from (0,0) in the complex plane. |
typedef double RealType |
Definition at line 8 of file ckcomplex.h.
Definition at line 100 of file ckcomplex.h.
PUPbytes | ( | ckcomplex | ) |
Overload std::isfinite for complex numbers.
Definition at line 102 of file ckcomplex.h.
Like std::norm, return the square of the distance from (0,0) in the complex number plane.
Definition at line 109 of file ckcomplex.h.
References ckcomplex::im, and ckcomplex::re.
Referenced by abs().
Return the distance from (0,0) in the complex plane.
Definition at line 111 of file ckcomplex.h.
References norm().
Referenced by TopoManager::absA(), TopoManager::absB(), TopoManager::absC(), TopoManager::absD(), TopoManager::absE(), TopoManager::absX(), TopoManager::absY(), TopoManager::absZ(), DistributedLB::AfterLBReduction(), CkDDT_Vector::CkDDT_Vector(), coordCompare(), coordEqual(), LBTopo_torus_nd< dimension >::coordinate_difference(), FEM_Interpolate::FEM_InterpolateNodeOnEdge(), topo::impl::TreeBoundingBoxOn3dTorus< Iterator >::findMaxSpreadDimension(), FM_2WayNodeRefine1SidedP(), FM_2WayNodeRefine2SidedP(), FEM_Adapt::isCorner(), LBTOPO_MACRO(), CkReductionMsg::nSources(), and recursive_bisect().