SPH
Public Member Functions | List of all members
DensityIndependentPressureGradient Class Reference
Inheritance diagram for DensityIndependentPressureGradient:
DerivativeTemplate< DensityIndependentPressureGradient > ISymmetricDerivative IDerivative Polymorphic

Public Member Functions

 DensityIndependentPressureGradient (const RunSettings &settings)
 
INLINE void additionalCreate (Accumulated &results)
 
INLINE void additionalInitialize (const Storage &input, Accumulated &results)
 
INLINE bool additionalEquals (const DensityIndependentPressureGradient &UNUSED(other)) const
 
template<bool Symmetrize>
INLINE void eval (const Size i, const Size j, const Vector &grad)
 
- Public Member Functions inherited from DerivativeTemplate< DensityIndependentPressureGradient >
 DerivativeTemplate (const RunSettings &settings, const Flags< DerivativeFlag > flags=EMPTY_FLAGS)
 
virtual void create (Accumulated &results) override final
 Emplace all needed buffers into shared storage. More...
 
virtual void initialize (const Storage &input, Accumulated &results) override final
 Initialize derivative before iterating over neighbours. More...
 
virtual bool equals (const IDerivative &other) const override final
 Returns true if this derivative is equal to the given derivative. More...
 
virtual void evalNeighs (const Size idx, ArrayView< const Size > neighs, ArrayView< const Vector > grads) override
 Compute derivatives of given particle. More...
 
virtual void evalSymmetric (const Size idx, ArrayView< const Size > neighs, ArrayView< const Vector > grads) override
 Compute a part of derivatives from interaction of particle pairs. More...
 
- Public Member Functions inherited from ISymmetricDerivative
virtual DerivativePhase phase () const final
 Symmetric derivatives are always in EVALUATION phase. More...
 
- Public Member Functions inherited from Polymorphic
virtual ~Polymorphic ()
 

Detailed Description

Todo:
change to simpe IDerivative ? (no need for symmetrization)

Definition at line 12 of file DensityIndependentSolver.cpp.

Constructor & Destructor Documentation

◆ DensityIndependentPressureGradient()

DensityIndependentPressureGradient::DensityIndependentPressureGradient ( const RunSettings settings)
inline

Definition at line 23 of file DensityIndependentSolver.cpp.

Member Function Documentation

◆ additionalCreate()

INLINE void DensityIndependentPressureGradient::additionalCreate ( Accumulated results)
inline

Definition at line 26 of file DensityIndependentSolver.cpp.

◆ additionalEquals()

INLINE bool DensityIndependentPressureGradient::additionalEquals ( const DensityIndependentPressureGradient UNUSEDother) const
inline

Definition at line 40 of file DensityIndependentSolver.cpp.

◆ additionalInitialize()

INLINE void DensityIndependentPressureGradient::additionalInitialize ( const Storage input,
Accumulated results 
)
inline

Definition at line 31 of file DensityIndependentSolver.cpp.

◆ eval()

template<bool Symmetrize>
INLINE void DensityIndependentPressureGradient::eval ( const Size  i,
const Size  j,
const Vector grad 
)
inline

Definition at line 45 of file DensityIndependentSolver.cpp.


The documentation for this class was generated from the following file: