SPH
Public Member Functions | List of all members
StressAV::Derivative< Discr > Class Template Reference
Inheritance diagram for StressAV::Derivative< Discr >:
AccelerationTemplate< Derivative< Discr > > IAcceleration ISymmetricDerivative IDerivative Polymorphic

Public Member Functions

 Derivative (const RunSettings &settings)
 
INLINE void additionalCreate (Accumulated &UNUSED(results)) const
 
INLINE void additionalInitialize (const Storage &input, Accumulated &UNUSED(results))
 
INLINE bool additionalEquals (const Derivative &other) const
 
template<bool Symmetrize>
INLINE Tuple< Vector, Floateval (const Size i, const Size j, const Vector &grad)
 
- Public Member Functions inherited from AccelerationTemplate< Derivative< Discr > >
 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

template<typename Discr>
class StressAV::Derivative< Discr >

Definition at line 10 of file Stress.cpp.

Constructor & Destructor Documentation

◆ Derivative()

template<typename Discr >
StressAV::Derivative< Discr >::Derivative ( const RunSettings settings)
inlineexplicit

Definition at line 24 of file Stress.cpp.

Member Function Documentation

◆ additionalCreate()

template<typename Discr >
INLINE void StressAV::Derivative< Discr >::additionalCreate ( Accumulated UNUSEDresults) const
inline

Definition at line 31 of file Stress.cpp.

◆ additionalEquals()

template<typename Discr >
INLINE bool StressAV::Derivative< Discr >::additionalEquals ( const Derivative< Discr > &  other) const
inline

Definition at line 41 of file Stress.cpp.

◆ additionalInitialize()

template<typename Discr >
INLINE void StressAV::Derivative< Discr >::additionalInitialize ( const Storage input,
Accumulated UNUSEDresults 
)
inline

Definition at line 33 of file Stress.cpp.

◆ eval()

template<typename Discr >
template<bool Symmetrize>
INLINE Tuple<Vector, Float> StressAV::Derivative< Discr >::eval ( const Size  i,
const Size  j,
const Vector grad 
)
inline

Definition at line 46 of file Stress.cpp.


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