SHiP Field Service
Framework-agnostic C++20 library exposing SHiP magnetic field maps.
Loading...
Searching...
No Matches
SHiP::IFieldSource Class Referenceabstract

Source of one or more named field regions. More...

#include <IFieldSource.h>

Inheritance diagram for SHiP::IFieldSource:
[legend]

Public Member Functions

virtual ~IFieldSource ()=default
 
virtual std::vector< FieldRegion > const & regions () const =0
 Idempotent. Ownership of the evaluators stays with the source.
 

Detailed Description

Source of one or more named field regions.

Mirrors the shape of IGeometrySource/IGeometryService in the geometry repo.

Constructor & Destructor Documentation

◆ ~IFieldSource()

virtual SHiP::IFieldSource::~IFieldSource ( )
virtualdefault

Member Function Documentation

◆ regions()

virtual std::vector< FieldRegion > const & SHiP::IFieldSource::regions ( ) const
pure virtual

Idempotent. Ownership of the evaluators stays with the source.

Implemented in SHiP::CovfieFieldSource, and SHiP::FieldMapSource.


The documentation for this class was generated from the following file: