docu update & typo
parent
7744bf6030
commit
050a595cd3
|
@ -72,13 +72,16 @@ public:
|
||||||
virtual string GetDirName(int ny) const;
|
virtual string GetDirName(int ny) const;
|
||||||
|
|
||||||
virtual double GetGridDelta() const {return gridDelta;}
|
virtual double GetGridDelta() const {return gridDelta;}
|
||||||
//! Get the mesh delta times the grid delta for a 3D position
|
//! Get the mesh delta times the grid delta for a 3D position (unit is meter)
|
||||||
virtual double GetMeshDelta(int n, const int* pos, bool dualMesh=false) const;
|
virtual double GetMeshDelta(int n, const int* pos, bool dualMesh=false) const;
|
||||||
|
//! Get the mesh delta times the grid delta for a 3D position (unit is meter)
|
||||||
virtual double GetMeshDelta(int n, const unsigned int* pos, bool dualMesh=false) const;
|
virtual double GetMeshDelta(int n, const unsigned int* pos, bool dualMesh=false) const;
|
||||||
|
|
||||||
//! Get the disc line in n direction
|
//! Get the disc line in n direction (in drawing units)
|
||||||
virtual double GetDiscLine(int n, int pos, bool dualMesh=false) const;
|
virtual double GetDiscLine(int n, int pos, bool dualMesh=false) const;
|
||||||
|
//! Get the disc line in n direction (in drawing units)
|
||||||
virtual double GetDiscLine(int n, unsigned int pos, bool dualMesh=false) const;
|
virtual double GetDiscLine(int n, unsigned int pos, bool dualMesh=false) const;
|
||||||
|
|
||||||
virtual bool SnapToMesh(double* coord, unsigned int* uicoord, bool lower=false, bool* inside=NULL);
|
virtual bool SnapToMesh(double* coord, unsigned int* uicoord, bool lower=false, bool* inside=NULL);
|
||||||
|
|
||||||
virtual void AddExtension(Operator_Extension* op_ext);
|
virtual void AddExtension(Operator_Extension* op_ext);
|
||||||
|
|
|
@ -353,7 +353,7 @@ bool Operator_Cylinder::Calc_ECPos(int n, unsigned int* pos, double* inEC)
|
||||||
}
|
}
|
||||||
|
|
||||||
A_n = fabs(deltaP*deltaPP);
|
A_n = fabs(deltaP*deltaPP);
|
||||||
if (n==0) //z-direction n==0 -> r; nP==1 -> alpha; nPP==2 -> z
|
if (n==0) //x-direction n==0 -> r; nP==1 -> alpha; nPP==2 -> z
|
||||||
{
|
{
|
||||||
A_n = A_n * coord[0];
|
A_n = A_n * coord[0];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue