SPH
Public Member Functions | List of all members
ArtificialConductivity::Derivative Class Reference

#include <Conductivity.h>

Inheritance diagram for ArtificialConductivity::Derivative:
DerivativeTemplate< Derivative > ISymmetricDerivative IDerivative Polymorphic

Public Member Functions

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

Definition at line 19 of file Conductivity.h.

Constructor & Destructor Documentation

◆ Derivative()

ArtificialConductivity::Derivative::Derivative ( const RunSettings settings)
inlineexplicit

Definition at line 29 of file Conductivity.h.

Member Function Documentation

◆ additionalCreate()

INLINE void ArtificialConductivity::Derivative::additionalCreate ( Accumulated results)
inline

Definition at line 36 of file Conductivity.h.

◆ additionalEquals()

INLINE bool ArtificialConductivity::Derivative::additionalEquals ( const Derivative other) const
inline

Definition at line 51 of file Conductivity.h.

◆ additionalInitialize()

INLINE void ArtificialConductivity::Derivative::additionalInitialize ( const Storage storage,
Accumulated results 
)
inline

Definition at line 40 of file Conductivity.h.

◆ eval()

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

Definition at line 56 of file Conductivity.h.


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