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

Artificial thermal conductivity. More...

#include <Conductivity.h>

Inheritance diagram for ArtificialConductivity:
IEquationTerm Polymorphic

Classes

class  Derivative
 

Public Member Functions

 ArtificialConductivity (const RunSettings &settings)
 
virtual void setDerivatives (DerivativeHolder &derivatives, const RunSettings &settings) override
 Sets derivatives required by this term. More...
 
virtual void initialize (IScheduler &UNUSED(scheduler), Storage &UNUSED(storage), const Float UNUSED(t)) override
 
virtual void finalize (IScheduler &UNUSED(scheduler), Storage &UNUSED(storage), const Float UNUSED(t)) override
 
virtual void create (Storage &UNUSED(storage), IMaterial &UNUSED(material)) const override
 
- Public Member Functions inherited from IEquationTerm
virtual void initialize (IScheduler &scheduler, Storage &storage, const Float t)=0
 Initialize all the derivatives and/or quantity values before derivatives are computed. More...
 
virtual void finalize (IScheduler &scheduler, Storage &storage, const Float t)=0
 Computes all the derivatives and/or quantity values based on accumulated derivatives. More...
 
virtual void create (Storage &storage, IMaterial &material) const =0
 Creates all quantities needed by the term using given material. More...
 
- Public Member Functions inherited from Polymorphic
virtual ~Polymorphic ()
 

Detailed Description

Artificial thermal conductivity.

See Price (2008).

Definition at line 17 of file Conductivity.h.

Constructor & Destructor Documentation

◆ ArtificialConductivity()

ArtificialConductivity::ArtificialConductivity ( const RunSettings settings)
inline

Definition at line 77 of file Conductivity.h.

Member Function Documentation

◆ create()

virtual void ArtificialConductivity::create ( Storage UNUSEDstorage,
IMaterial UNUSEDmaterial 
) const
inlineoverridevirtual

Definition at line 99 of file Conductivity.h.

◆ finalize()

virtual void ArtificialConductivity::finalize ( IScheduler UNUSEDscheduler,
Storage UNUSEDstorage,
const Float   UNUSED
)
inlineoverridevirtual

Definition at line 95 of file Conductivity.h.

◆ initialize()

virtual void ArtificialConductivity::initialize ( IScheduler UNUSEDscheduler,
Storage UNUSEDstorage,
const Float   UNUSED
)
inlineoverridevirtual

Definition at line 91 of file Conductivity.h.

◆ setDerivatives()

virtual void ArtificialConductivity::setDerivatives ( DerivativeHolder derivatives,
const RunSettings settings 
)
inlineoverridevirtual

Sets derivatives required by this term.

The derivatives are then automatically evaluated by the solver, the equation term can access the result in finalize function. This function is called once for each thread at the beginning of the run.

Implements IEquationTerm.

Definition at line 87 of file Conductivity.h.


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