-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathdetectSurface.hh
28 lines (23 loc) · 1.08 KB
/
detectSurface.hh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//---------------------------------Spheral++------------------------------------
// Detect surface particles leveraging the zeroth and first moments
//------------------------------------------------------------------------------
#ifndef __Spheral__detectSurface__
#define __Spheral__detectSurface__
namespace Spheral {
// Forward declarations.
template<typename Dimension> class ConnectivityMap;
template<typename Dimension> class TableKernel;
template<typename Dimension, typename DataType> class FieldList;
template<typename Dimension>
void
detectSurface(const ConnectivityMap<Dimension>& connectivityMap,
const FieldList<Dimension, typename Dimension::Scalar>& m0,
const FieldList<Dimension, typename Dimension::Vector>& m1,
const FieldList<Dimension, typename Dimension::Vector>& position,
const FieldList<Dimension, typename Dimension::SymTensor>& H,
const double detectThreshold,
const double detectRange,
const double sweepAngle,
FieldList<Dimension, int>& surfacePoint);
}
#endif