Skip to content
Snippets Groups Projects
Commit 03f593ad authored by Christos Anastopoulos's avatar Christos Anastopoulos
Browse files

BFieldZone rm unused method

parent 4b3c4718
No related branches found
No related tags found
No related merge requests found
......@@ -36,9 +36,6 @@ public:
void addBiotSavart(const double* ATH_RESTRICT xyz,
double* ATH_RESTRICT B,
double* ATH_RESTRICT deriv = nullptr) const;
// scale B field by a multiplicative factor: RDS 2019/09 - no longer used.
// Scaling is done in cachec
void scaleField(double factor);
// accessors
int id() const;
unsigned ncond() const;
......
......@@ -20,14 +20,6 @@ BFieldZone::appendCond(const BFieldCond& cond)
m_cond.push_back(cond);
}
inline void
BFieldZone::scaleField(double factor)
{
scaleBscale(factor);
for (unsigned i = 0; i < ncond(); i++) {
m_cond[i].scaleCurrent(factor);
}
}
inline void
BFieldZone::addBiotSavart(const double* ATH_RESTRICT xyz,
......
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