MPS-Basic
Loading...
Searching...
No Matches
PressureCalculator::Interface Class Referenceabstract

Pressure calculator interface. More...

#include <interface.hpp>

Inheritance diagram for PressureCalculator::Interface:

Public Member Functions

virtual std::vector< double > calc (Particles &particles)=0
 calculate pressure
 
virtual ~Interface ()
 destructor
 

Detailed Description

Pressure calculator interface.

Interface for pressure calculator. This interface is used to calculate pressure in the MPS method.

Definition at line 15 of file interface.hpp.

Constructor & Destructor Documentation

◆ ~Interface()

virtual PressureCalculator::Interface::~Interface ( )
inlinevirtual

destructor

Definition at line 28 of file interface.hpp.

28{};

Member Function Documentation

◆ calc()

virtual std::vector< double > PressureCalculator::Interface::calc ( Particles & particles)
pure virtual

calculate pressure

Parameters
particlesparticles
Returns
pressures of particles

Implemented in PressureCalculator::Explicit, and PressureCalculator::Implicit.


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