Commit 80e1a9fe authored by frey_m's avatar frey_m
Browse files

IrregularDomain: break long lines

parent 05397703
...@@ -43,7 +43,8 @@ class IrregularDomain { ...@@ -43,7 +43,8 @@ class IrregularDomain {
public: public:
/** method to compute the intersection points with the boundary geometry (stored in some appropriate data structure) /** method to compute the intersection points with the boundary geometry
* (stored in some appropriate data structure)
* \param hr updated mesh spacings * \param hr updated mesh spacings
*/ */
virtual void compute(Vector_t hr) = 0; virtual void compute(Vector_t hr) = 0;
...@@ -65,7 +66,10 @@ public: ...@@ -65,7 +66,10 @@ public:
/// \param F stencil value of the element in front of idx: (z-1) /// \param F stencil value of the element in front of idx: (z-1)
/// \param B stencil value of the element in the back of idx: (z+1) /// \param B stencil value of the element in the back of idx: (z+1)
/// \param C stencil value of the element in the center /// \param C stencil value of the element in the center
virtual void getBoundaryStencil(int x, int y, int z, double &W, double &E, double &S, double &N, double &F, double &B, double &C, double &scaleFactor) = 0; virtual void getBoundaryStencil(int x, int y, int z,
double &W, double &E, double &S,
double &N, double &F, double &B,
double &C, double &scaleFactor) = 0;
/// method to calculate the stencil at a boundary points /// method to calculate the stencil at a boundary points
/// \param idx index of the current element in the matrix /// \param idx index of the current element in the matrix
...@@ -76,7 +80,9 @@ public: ...@@ -76,7 +80,9 @@ public:
/// \param F stencil value of the element in front of idx: (z-1) /// \param F stencil value of the element in front of idx: (z-1)
/// \param B stencil value of the element in the back of idx: (z+1) /// \param B stencil value of the element in the back of idx: (z+1)
/// \param C stencil value of the element in the center /// \param C stencil value of the element in the center
virtual void getBoundaryStencil(int idx, double &W, double &E, double &S, double &N, double &F, double &B, double &C, double &scaleFactor) = 0; virtual void getBoundaryStencil(int idx, double &W, double &E, double &S,
double &N, double &F, double &B, double &C,
double &scaleFactor) = 0;
/// method to calculate the neighbours in the matrix of the current index (x,y,z) /// method to calculate the neighbours in the matrix of the current index (x,y,z)
/// \param x index of the current element in the matrix /// \param x index of the current element in the matrix
...@@ -88,8 +94,11 @@ public: ...@@ -88,8 +94,11 @@ public:
/// \param N stencil index of the element in the north of idx: (y+1) /// \param N stencil index of the element in the north of idx: (y+1)
/// \param F stencil index of the element in front of idx: (z-1) /// \param F stencil index of the element in front of idx: (z-1)
/// \param B stencil index of the element in the back of idx: (z+1) /// \param B stencil index of the element in the back of idx: (z+1)
virtual void getNeighbours(int x, int y, int z, int &W, int &E, int &S, int &N, int &F, int &B) = 0; virtual void getNeighbours(int x, int y, int z, int &W, int &E, int &S,
virtual void getNeighbours(int idx, int &W, int &E, int &S, int &N, int &F, int &B) = 0; int &N, int &F, int &B) = 0;
virtual void getNeighbours(int idx, int &W, int &E, int &S, int &N,
int &F, int &B) = 0;
/// method that identifies a specialized boundary geometry /// method that identifies a specialized boundary geometry
/// \return std::string containing a description of the boundary geometry used /// \return std::string containing a description of the boundary geometry used
...@@ -116,6 +125,7 @@ public: ...@@ -116,6 +125,7 @@ public:
void setGlobalToLocalQuaternion(Quaternion_t globalToLocalQuaternion){ void setGlobalToLocalQuaternion(Quaternion_t globalToLocalQuaternion){
globalToLocalQuaternion_m = globalToLocalQuaternion;} globalToLocalQuaternion_m = globalToLocalQuaternion;}
Quaternion_t getGlobalToLocalQuaternion() { return globalToLocalQuaternion_m;} Quaternion_t getGlobalToLocalQuaternion() { return globalToLocalQuaternion_m;}
virtual double getXRangeMin() = 0; virtual double getXRangeMin() = 0;
...@@ -130,7 +140,9 @@ public: ...@@ -130,7 +140,9 @@ public:
virtual ~IrregularDomain() {}; virtual ~IrregularDomain() {};
virtual void resizeMesh(Vector_t& origin, Vector_t& hr, virtual void resizeMesh(Vector_t& origin, Vector_t& hr,
const Vector_t& /*rmin*/, const Vector_t& /*rmax*/, double /*dh*/) { const Vector_t& /*rmin*/, const Vector_t& /*rmax*/,
double /*dh*/)
{
double xmin = getXRangeMin(); double xmin = getXRangeMin();
double xmax = getXRangeMax(); double xmax = getXRangeMax();
double ymin = getYRangeMin(); double ymin = getYRangeMin();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment