SPH
Public Member Functions | List of all members
CohesionDerivative Class Reference

#include <Fluids.h>

Inheritance diagram for CohesionDerivative:
AccelerationTemplate< CohesionDerivative > IAcceleration ISymmetricDerivative IDerivative Polymorphic

Public Member Functions

 CohesionDerivative (const RunSettings &settings)
 
INLINE void additionalCreate (Accumulated &UNUSED(results))
 
INLINE void additionalInitialize (const Storage &input, Accumulated &UNUSED(results))
 
INLINE bool additionalEquals (const CohesionDerivative &UNUSED(other)) const
 
template<bool Symmetrize>
INLINE Tuple< Vector, Floateval (const Size i, const Size j, const Vector &UNUSED(grad))
 
- Public Member Functions inherited from AccelerationTemplate< CohesionDerivative >
 AccelerationTemplate (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...
 
virtual void evalAcceleration (const Size idx, ArrayView< const Size > neighs, ArrayView< const Vector > grads, ArrayView< Vector > dv) override
 Computes the pair-wise accelerations of given particle and its neighbours. 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

Definition at line 52 of file Fluids.h.

Constructor & Destructor Documentation

◆ CohesionDerivative()

CohesionDerivative::CohesionDerivative ( const RunSettings settings)
inlineexplicit

Definition at line 64 of file Fluids.h.

Member Function Documentation

◆ additionalCreate()

INLINE void CohesionDerivative::additionalCreate ( Accumulated UNUSEDresults)
inline

Definition at line 68 of file Fluids.h.

◆ additionalEquals()

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

Definition at line 78 of file Fluids.h.

◆ additionalInitialize()

INLINE void CohesionDerivative::additionalInitialize ( const Storage input,
Accumulated UNUSEDresults 
)
inline
Todo:
needs to be generalized for heterogeneous fluids

Definition at line 70 of file Fluids.h.

◆ eval()

template<bool Symmetrize>
INLINE Tuple<Vector, Float> CohesionDerivative::eval ( const Size  i,
const Size  j,
const Vector UNUSEDgrad 
)
inline
Todo:
heating?

Definition at line 83 of file Fluids.h.


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