Class FieldSourceContainer#

Inheritance Relationships#

Base Type#

Class Documentation#

class FieldSourceContainer : public OrbitUtils::BaseFieldSource#

The container for instances of the BaseFieldSource class. It implements a composite pattern.

Public Functions

FieldSourceContainer()#

Constructor.

~FieldSourceContainer()#

Destructor.

void AddFieldSource(BaseFieldSource *fs)#

Adds the instance of the ExternalEffects class to the container.

virtual void getElectricMagneticField(double x, double y, double z, double t, double &E_x, double &E_y, double &E_z, double &H_x, double &H_y, double &H_z)#

Adds the instance of the ExternalEffects class to the container.