SHiP Field Service
Framework-agnostic C++20 library exposing SHiP magnetic field maps.
Loading...
Searching...
No Matches
Namespaces | Classes | Functions
ship Namespace Reference

Namespaces

namespace  detail
 

Classes

class  CovfieFieldSource
 Concrete IFieldSource aggregating one covfie-backed evaluator per magnet. More...
 
struct  FieldRegion
 One magnet's worth of field, tagged by a host-geometry volume pattern. More...
 
class  G4MagFieldAdapter
 Thin G4MagneticField wrapping an IFieldEvaluator. More...
 
class  IFieldEvaluator
 Framework-agnostic point-query evaluator for one magnetic field region. More...
 
class  IFieldSource
 Source of one or more named field regions. More...
 

Functions

std::shared_ptr< IFieldEvaluatorloadCovfieField (std::string const &cvf_path)
 Build an IFieldEvaluator backed by a covfie .cvf file (CPU backend, trilinear interpolation, per-thread view).
 

Function Documentation

◆ loadCovfieField()

std::shared_ptr< IFieldEvaluator > ship::loadCovfieField ( std::string const &  cvf_path)

Build an IFieldEvaluator backed by a covfie .cvf file (CPU backend, trilinear interpolation, per-thread view).

Bare filenames are resolved against $SHIPFIELD_ROOT/share/field/.