OPAL (Object Oriented Parallel Accelerator Library)
2.2.0
OPAL
|
#include "Structure/BoundaryGeometry.h"
#include <fstream>
#include "H5hut.h"
#include "Algorithms/PartBunchBase.h"
#include "Expressions/SRefExpr.h"
#include "Elements/OpalBeamline.h"
#include "Utilities/Options.h"
#include "Utilities/OpalException.h"
#include <gsl/gsl_sys.h>
#include <math.h>
Go to the source code of this file.
Classes | |
class | Triangle |
class | Ray |
class | Voxel |
Macros | |
#define | ENABLE_DEBUG |
#define | SQR(x) ((x)*(x)) |
#define | PointID(triangle_id, vertex_id) Triangles_m[triangle_id][vertex_id] |
#define | Point(triangle_id, vertex_id) Points_m[Triangles_m[triangle_id][vertex_id]] |
#define | EPS 10e-10 |
#define | LERP(A, B, C) ((B)+(A)*((C)-(B))) |
#define | MIN2(a, b) (((a) < (b)) ? (a) : (b)) |
#define | MAX2(a, b) (((a) > (b)) ? (a) : (b)) |
#define | MIN3(a, b, c) ((((a)<(b))&&((a)<(c))) ? (a) : (((b)<(c)) ? (b) : (c))) |
#define | MAX3(a, b, c) ((((a)>(b))&&((a)>(c))) ? (a) : (((b)>(c)) ? (b) : (c))) |
#define | INSIDE 0 |
#define | OUTSIDE 1 |
#define | mapPoint2VoxelIndices(pt, i, j, k) |
Variables | |
Inform * | gmsg |
#define ENABLE_DEBUG |
Definition at line 7 of file BoundaryGeometry.cpp.
#define EPS 10e-10 |
Definition at line 28 of file BoundaryGeometry.cpp.
Referenced by BoundaryGeometry::intersectLineTriangle(), and BoundaryGeometry::intersectTinyLineSegmentBoundary().
#define INSIDE 0 |
Definition at line 174 of file BoundaryGeometry.cpp.
Referenced by BoundaryGeometry::computeMeshVoxelization().
#define LERP | ( | A, | |
B, | |||
C | |||
) | ((B)+(A)*((C)-(B))) |
Definition at line 169 of file BoundaryGeometry.cpp.
#define mapPoint2VoxelIndices | ( | pt, | |
i, | |||
j, | |||
k | |||
) |
Definition at line 1138 of file BoundaryGeometry.cpp.
Referenced by BoundaryGeometry::computeMeshVoxelization(), BoundaryGeometry::intersectLineSegmentBoundary(), and BoundaryGeometry::intersectTinyLineSegmentBoundary().
#define MAX2 | ( | a, | |
b | |||
) | (((a) > (b)) ? (a) : (b)) |
Definition at line 171 of file BoundaryGeometry.cpp.
Referenced by BoundaryGeometry::intersectLineSegmentBoundary(), and BoundaryGeometry::intersectTinyLineSegmentBoundary().
#define MAX3 | ( | a, | |
b, | |||
c | |||
) | ((((a)>(b))&&((a)>(c))) ? (a) : (((b)>(c)) ? (b) : (c))) |
Definition at line 173 of file BoundaryGeometry.cpp.
Referenced by BoundaryGeometry::computeMeshVoxelization().
#define MIN2 | ( | a, | |
b | |||
) | (((a) < (b)) ? (a) : (b)) |
Definition at line 170 of file BoundaryGeometry.cpp.
Referenced by BoundaryGeometry::intersectLineSegmentBoundary(), and BoundaryGeometry::intersectTinyLineSegmentBoundary().
#define MIN3 | ( | a, | |
b, | |||
c | |||
) | ((((a)<(b))&&((a)<(c))) ? (a) : (((b)<(c)) ? (b) : (c))) |
Definition at line 172 of file BoundaryGeometry.cpp.
Referenced by BoundaryGeometry::computeMeshVoxelization(), and BoundaryGeometry::fastIsInside().
#define OUTSIDE 1 |
Definition at line 175 of file BoundaryGeometry.cpp.
#define Point | ( | triangle_id, | |
vertex_id | |||
) | Points_m[Triangles_m[triangle_id][vertex_id]] |
Definition at line 26 of file BoundaryGeometry.cpp.
#define PointID | ( | triangle_id, | |
vertex_id | |||
) | Triangles_m[triangle_id][vertex_id] |
Definition at line 25 of file BoundaryGeometry.cpp.
Referenced by BoundaryGeometry::initialize(), and BoundaryGeometry::writeGeomToVtk().
#define SQR | ( | x | ) | ((x)*(x)) |
Definition at line 24 of file BoundaryGeometry.cpp.
Referenced by BoundaryGeometry::initialize().