Skip to content
Snippets Groups Projects
Commit fc5a2760 authored by Sergei Zharko's avatar Sergei Zharko
Browse files

KF, KfField.h: unused function FieldBase::MakeFieldRegion is removed

parent ebcffbaa
No related branches found
No related tags found
1 merge request!1948KF, KfField.h: unused function FieldBase::MakeFieldRegion is removed
Checking pipeline status
......@@ -84,9 +84,6 @@ namespace cbm::algo::kf
/// \brief Gets number of field slices in the instance
int GetNofFieldSlices() const { return fvFieldSliceZ.size(); }
/// \brief Makes field region
FieldRegion<T> MakeFieldRegion(EFieldType fldType) const { return FieldRegion(fldType, fFieldFn); }
/// \brief Removes a field slice
/// \param iLayer Index of field slice
void RemoveSlice(int iLayer) { fvFieldSliceZ.erase(fvFieldSliceZ.begin() + iLayer); }
......@@ -160,21 +157,6 @@ namespace cbm::algo::kf
/// \brief Gets number of field slices in the instance
int GetNofFieldSlices() const { return fvFieldSlices.size(); }
/// \brief Creates field region object
/// \brief fldType FieldType
/// \param b0 Field value in the first node [kG]
/// \param z0 First node z-coordinate [cm]
/// \param b1 Field value in the first node [kG]
/// \param z1 Second node z-coordinate [cm]
/// \param b2 Field value in the first node [kG]
/// \param z2 Third node z-coordinate [cm]
FieldRegion<T> MakeFieldRegion(EFieldType fldType, const FieldValue<T>& b0, const T& z0, const FieldValue<T>& b1,
const T& z1, const FieldValue<T>& b2, const T& z2) const
{
return FieldRegion<T>(fldType, b0, z0, b1, z1, b2, z2);
}
/// \brief Removes a field slice
/// \param iLayer Index of field slice
void RemoveSlice(int iLayer) { fvFieldSlices.erase(fvFieldSlices.begin() + iLayer); }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment