SPH
Rotation.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include "sph/kernel/Kernel.h"
5 
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 */
NAMESPACE_SPH_BEGIN
Definition: BarnesHut.cpp:13
Right-hand side term of SPH equations.
SPH kernels.
#define NAMESPACE_SPH_END
Definition: Object.h:12