SPH
Classes | Enumerations
Derivative.h File Reference

Spatial derivatives to be computed by SPH discretization. More...

#include "objects/containers/FlatSet.h"
#include "objects/geometry/Vector.h"
#include "quantities/Storage.h"
#include "sph/equations/Accumulated.h"
#include "system/Profiler.h"
#include "system/Settings.h"
#include <typeinfo>

Go to the source code of this file.

Classes

class  IDerivative
 Derivative accumulated by summing up neighbouring particles. More...
 
class  ISymmetricDerivative
 Extension of derivative, allowing a symmetrized evaluation. More...
 
class  IAcceleration
 Extension of derivative allowing to compute pair-wise acceleration for each neighbour. More...
 
class  CorrectionTensor
 
class  DerivativeHolder
 Container holding derivatives and the storage they accumulate to. More...
 

Enumerations

enum class  DerivativePhase { PRECOMPUTE , EVALUATION }
 Defines the phases of derivative evaluation. More...
 

Detailed Description

Spatial derivatives to be computed by SPH discretization.

Author
Pavel Sevecek (sevecek at sirrah.troja.mff.cuni.cz)
Date
2016-2021

Definition in file Derivative.h.

Enumeration Type Documentation

◆ DerivativePhase

enum DerivativePhase
strong

Defines the phases of derivative evaluation.

Derivatives in different phases are evaluated in order, each phase can use results computed by derivatives in previous phase. Order of derivative evaluation within one phase is undefined.

Attention
Phases make only sense for asymmetric evaluation, i.e. if all neighbours are visited for given particles and the computed value is final. For symmetrized evaluation, only a partial value is computed for given particle (and the rest is added when evaluating the neighbouring particles), so the result from previous phase cannot be used anyway!
Enumerator
PRECOMPUTE 

Auxiliary quantities needed for evaluation of other derivatives (grad-h, correction tensor, ...)

EVALUATION 

Evaluation of quantity derivatives. All derivatives from precomputation phase are already computed and may be used for the computation here.

Definition at line 28 of file Derivative.h.