Class Source

Class Documentation

class Source

The Source class stores the data related to a non-uniform source, which includes:

  • The time at which the source is defined.

  • The normalized domain (ND) which is a set of radial positions (scaled).

  • The slopes of the source function (used for each region).

  • The intercepts of the source function (used for each region).

Each part of the source is defined with a time and associated values for ND, slopes, and intercepts.

Author

A. Zayat

Public Functions

inline Source()

Constructor.

inline ~Source()

Destructor.

Public Members

double time

Time at which we have this non-uniform source.

std::vector<double> NormalizedDomain

NormalizedDomain = r/a [0, edge1/a, edge2/a, edge3/a, …, 1].

std::vector<double> Slopes

Source function slopes for each region.

std::vector<double> Intercepts

Source function intercepts for each region.