-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathcomputeFSISPHSumMassDensity.hh
More file actions
31 lines (23 loc) · 1.19 KB
/
computeFSISPHSumMassDensity.hh
File metadata and controls
31 lines (23 loc) · 1.19 KB
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
29
30
31
//---------------------------------Spheral++------------------------------------
// Compute normals at an interface
//------------------------------------------------------------------------------
#ifndef __Spheral__computeFSISPHSumMassDensity__
#define __Spheral__computeFSISPHSumMassDensity__
#include <vector>
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
computeFSISPHSumMassDensity(const ConnectivityMap<Dimension>& connectivityMap,
const TableKernel<Dimension>& W,
const std::vector<int>& sumDensityNodeLists,
const FieldList<Dimension, typename Dimension::Vector>& position,
const FieldList<Dimension, typename Dimension::Scalar>& mass,
const FieldList<Dimension, typename Dimension::SymTensor>& H,
const bool consistentSum,
FieldList<Dimension, typename Dimension::Scalar>& massDensity);
}
#endif