volumential#
Volumential computes 2D and 3D volume potentials using the fast multipole method.
This module is the package entry point. It owns
the re-exported top-level names listed in
__all__(NearFieldInteractionTable,NearFieldInteractionTableManagerandbox_quad()),the package version string
volumential_version,the persistent
code_cacheused by generatedloopykernels, andthe process-wide optimization and caching switches (
OPT_ENABLED,CACHING_ENABLED,set_optimization_enabled(),set_caching_enabled()andCacheMode).
Everything else lives in the submodules; see the documentation’s module map.
- volumential.volumential_version = '2017.1a0'#
The package version as a string, i.e.
volumential.version.VERSION_TEXT.
- volumential.code_cache = WriteOncePersistentDict(/home/runner/.cache/pytools/pdict-v5-volumential-code-cache-v0-2017.1a0-3.12.14.final.0.sqlite, nitems=0)#
Persistent cache for the generated
loopykernels, keyed by the package version and the kernel revision.
- volumential.OPT_ENABLED = True#
Whether generated
loopykernels are optimized. Set from theVOLUMENTIAL_NO_OPTenvironment variable at import time; change it throughset_optimization_enabled().
- volumential.set_optimization_enabled(flag: bool) None[source]#
Set whether the
loopykernels should be optimized.
- volumential.CACHING_ENABLED = True#
Whether
loopymay use its disk caches. Set from theVOLUMENTIAL_NO_CACHEandCG_NO_CACHEenvironment variables at import time; change it throughset_caching_enabled()or theCacheModecontext manager.
- volumential.set_caching_enabled(flag: bool) None[source]#
Set whether
loopyis allowed to use disk caching for its various code generation stages.
- class volumential.CacheMode(new_flag: bool)[source]#
Bases:
objectA context manager for setting whether
volumentialis allowed to use disk caches.
Modules
Box-local (box-specific) maps, reductions and modal filters. |
|
Compatibility shim for the fpnd expansion wranglers. |
|
The stage-by-stage contract every volumential wrangler implements. |
|
Pointwise evaluation of symbolic scalar fields on the device. |
|
Function extension with regularity constraints. |
|
Gaussian source fixtures and exports for free-space volume-potential demos. |
|
Geometry construction for volume FMM evaluations. |
|
Interpolation between box meshes and |
|
Disk-cached |
|
Stable Lagrange basis evaluation helpers. |
|
List 1 (near-field) potential evaluation from CSR tree data. |
|
Enumeration of the list 1 (near-neighbor) interaction gallery. |
|
Symmetry bookkeeping for the list 1 interaction gallery. |
|
Box mesh generation on top of the boxtree tree-of-boxes interface. |
|
Explicit operation counters for the measurement drivers kept with the manuscripts (experiment E3). |
|
Arithmetic ORBIT addressing for near-field interaction tables. |
|
Per-phase wall-clock profiling for the measurement drivers kept with the manuscripts (experiment E6). |
|
Certified RKE assembly of fixed-parameter near-field tables. |
|
The 2D singular integrals are computed using the transform described in http://link.springer.com/10.1007/BF00370482. |
|
Symbolic ( |
|
Near-field interaction tables and the manager that owns them. |
|
Miscellaneous host-side utilities, plus the historical grab-bag import surface. |
|
Interactive box-tree construction for adaptive volume FMM meshes. |
|
Version and kernel-revision metadata for |
|
Drive the volume FMM and interpolate its output. |
|
Expansion wranglers implementing the |