mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
DLL_HEADER for fieldline code
This commit is contained in:
parent
212c5dd130
commit
b62c7b30ef
@ -280,6 +280,7 @@ namespace netgen
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
FieldLineCalc :: ~FieldLineCalc() {;}
|
||||||
|
|
||||||
|
|
||||||
void FieldLineCalc :: Calc(const Point<3> & startpoint, Array<Point<3>> & points, Array<double> & vals, Array<bool> & drawelems, Array<int> & dirstart)
|
void FieldLineCalc :: Calc(const Point<3> & startpoint, Array<Point<3>> & points, Array<double> & vals, Array<bool> & drawelems, Array<int> & dirstart)
|
||||||
|
@ -32,7 +32,7 @@ private:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
~RKStepper();
|
DLL_HEADER ~RKStepper();
|
||||||
|
|
||||||
RKStepper(int type = 0);
|
RKStepper(int type = 0);
|
||||||
|
|
||||||
@ -77,18 +77,20 @@ private:
|
|||||||
double thickness;
|
double thickness;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
FieldLineCalc(const Mesh & amesh, const VectorFunction & afunc,
|
DLL_HEADER FieldLineCalc(const Mesh & amesh, const VectorFunction & afunc,
|
||||||
const double rel_length, const int amaxpoints = -1,
|
const double rel_length, const int amaxpoints = -1,
|
||||||
const double rel_thickness = -1, const double rel_tolerance = -1, const int rk_type = 0, const int adirection = 0);
|
const double rel_thickness = -1, const double rel_tolerance = -1, const int rk_type = 0, const int adirection = 0);
|
||||||
|
|
||||||
|
DLL_HEADER ~FieldLineCalc();
|
||||||
|
|
||||||
void SetCriticalValue(const double val) { critical_value = val; }
|
void SetCriticalValue(const double val) { critical_value = val; }
|
||||||
|
|
||||||
void Randomized(void) { randomized = true; }
|
void Randomized(void) { randomized = true; }
|
||||||
void NotRandomized(void) { randomized = false; }
|
void NotRandomized(void) { randomized = false; }
|
||||||
|
|
||||||
void Calc(const Point<3> & startpoint, Array<Point<3>> & points, Array<double> & vals, Array<bool> & drawelems, Array<int> & dirstart);
|
DLL_HEADER void Calc(const Point<3> & startpoint, Array<Point<3>> & points, Array<double> & vals, Array<bool> & drawelems, Array<int> & dirstart);
|
||||||
|
|
||||||
void GenerateFieldLines(Array<Point<3>> & potential_startpoints, const int numlines);
|
DLL_HEADER void GenerateFieldLines(Array<Point<3>> & potential_startpoints, const int numlines);
|
||||||
|
|
||||||
const auto & GetPStart() const { return pstart; }
|
const auto & GetPStart() const { return pstart; }
|
||||||
const auto & GetPEnd() const { return pend; }
|
const auto & GetPEnd() const { return pend; }
|
||||||
|
Loading…
Reference in New Issue
Block a user