PremModel.cxx
//......................................................................
///
/// Add a layer to the earth model.
///
/// @param radius  - The outer radius of the layer in km
/// @param density - The density of the layer in g/cm^3
/// @param zoa     - The effective Z/A value of the layer
/// @param layer   - An index to identify the matter type (e.g. earth inner core)
///
Add a layer to the earth model.
Add a layer to the earth model .
void PremModel::AddLayer(double radius, double density,
                         double zoa,    double layer)
{
  fPremLayers.push_back( PremLayer(radius, density, zoa, layer) );
}
void PremModel :: AddLayer ( double radius , double density , double zoa , double layer ) { fPremLayers . push_back ( PremLayer ( radius , density , zoa , layer ) ) ; }
......................................................................
Add a layer to the earth model.
...................................................................... Add a layer to the earth model .