|
Feellgood
|
Classes | |
| class | fmm |
Typedefs | |
| typedef double | FReal |
| typedef FTypedRotationCell< FReal, P > | CellClass |
| typedef FP2PParticleContainerIndexed< FReal > | ContainerClass |
| typedef FTypedLeaf< FReal, ContainerClass > | LeafClass |
| typedef FOctree< FReal, CellClass, ContainerClass, LeafClass > | OctreeClass |
| typedef FRotationKernel< FReal, CellClass, ContainerClass, P > | KernelClass |
| typedef FFmmAlgorithmThreadTsm< OctreeClass, CellClass, ContainerClass, KernelClass, LeafClass > | FmmClass |
Functions | |
| const FPoint< FReal > | boxCenter (0., 0., 0.) |
| uint64_t | mortonKey (const Eigen::Ref< const Eigen::Vector3d > p, const double boxWidth) |
| int | octreeHeight (const std::vector< Eigen::Vector3d > &pos, const double boxWidth) |
Variables | |
| const int | P = 9 |
| const int | SizeSubLevels = 3 |
| const double | boxWidth = 2.01 |
| const int | MinLevels = 3 |
| const int | MaxLevels = 10 |
| const size_t | MinParticlesPerLeaf = 150 |
to grab altogether the templates and functions using scalfmm for the computation of the demag field
| typedef FTypedRotationCell<FReal, P> scal_fmm::CellClass |
convenient typedef for the definition of cell type in scalfmm
| typedef FP2PParticleContainerIndexed<FReal> scal_fmm::ContainerClass |
convenient typedef for the definition of container for scalfmm
| typedef FFmmAlgorithmThreadTsm<OctreeClass, CellClass, ContainerClass, KernelClass, LeafClass> scal_fmm::FmmClass |
convenient typedef for handling altogether the differents scalfmm object templates used in feellgood
| typedef double scal_fmm::FReal |
parameter of scalfmm templates, all computations are made in double precision
| typedef FRotationKernel<FReal, CellClass, ContainerClass, P> scal_fmm::KernelClass |
convenient typedef for the kernel for scalfmm
| typedef FTypedLeaf<FReal, ContainerClass> scal_fmm::LeafClass |
convenient typedef for the definition of leaf for scalfmm
| typedef FOctree<FReal, CellClass, ContainerClass, LeafClass> scal_fmm::OctreeClass |
convenient typedef for the definition of the octree for scalfmm
| const FPoint<FReal> scal_fmm::boxCenter | ( | 0. | , |
| 0. | , | ||
| 0. | |||
| ) |
center of the bounding box
|
inline |
Morton key of point p of the cubic box of width boxWidth centered on the origin, at depth MaxLevels-1 (2^(MaxLevels-1) cells per direction). The key of the cell containing p at depth h-1 (the leaves of an octree of height h) is mortonKey(p) >> 3*(MaxLevels-h).
| [in] | p | |
| [in] | boxWidth |
|
inline |
height of the octree for the particles of positions pos, in the cubic box of width boxWidth centered on the origin: the deepest octree whose non-empty leaves contain on average at least MinParticlesPerLeaf particles, clamped to [MinLevels, MaxLevels]
| [in] | pos | |
| [in] | boxWidth |
| const double scal_fmm::boxWidth = 2.01 |
bounding box max dimension
| const int scal_fmm::MaxLevels = 10 |
maximal height of the octree
| const int scal_fmm::MinLevels = 3 |
minimal height of the octree
| const size_t scal_fmm::MinParticlesPerLeaf = 150 |
minimal mean number of particles per non-empty leaf
| const int scal_fmm::P = 9 |
truncation of the spherical harmonics series
| const int scal_fmm::SizeSubLevels = 3 |
maximal size of the sub levels