SPH
src
core
sph
equations
Rotation.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
sph/equations/EquationTerm.h
"
4
#include "
sph/kernel/Kernel.h
"
5
6
NAMESPACE_SPH_BEGIN
7
8
/*namespace BenzAsphaugSph {
9
class SolidStressTorque : public IEquationTerm {
10
private:
14
Float inertia;
15
16
bool evolveAngle;
17
18
public:
19
explicit SolidStressTorque(const RunSettings& settings);
20
21
virtual void setDerivatives(DerivativeHolder& derivatives, const RunSettings& settings) override;
22
23
virtual void initialize(Storage& storage) override;
24
25
virtual void finalize(Storage& storage) override;
26
27
virtual void create(Storage& storage, IMaterial& material) const override;
28
32
INLINE Float getInertia() const {
33
return inertia;
34
}
35
};
36
} // namespace BenzAsphaugSph
37
38
namespace StandardSph {
39
class SolidStressTorque : public BenzAsphaugSph::SolidStressTorque {
40
public:
41
virtual void setDerivatives(DerivativeHolder& derivatives, const RunSettings& settings) override;
42
};
43
44
} // namespace StandardSph
45
*/
46
NAMESPACE_SPH_END
NAMESPACE_SPH_BEGIN
NAMESPACE_SPH_BEGIN
Definition:
BarnesHut.cpp:13
EquationTerm.h
Right-hand side term of SPH equations.
Kernel.h
SPH kernels.
NAMESPACE_SPH_END
#define NAMESPACE_SPH_END
Definition:
Object.h:12
Generated by
1.9.1