24#ifndef BUOYANCYFORCE3D_H_
25#define BUOYANCYFORCE3D_H_
35template<
typename T,
template<
typename U>
class PARTICLETYPE>
36class ParticleSystem3D;
38template<
typename T,
template<
typename U>
class PARTICLETYPE,
typename DESCRIPTOR>
45 void applyForce(
typename std::deque<PARTICLETYPE<T> >::iterator p,
int pInt,
51 std::vector<T> _direction;
void applyForce(typename std::deque< PARTICLETYPE< T > >::iterator p, int pInt, ParticleSystem3D< T, PARTICLETYPE > &psSys) override
BuoyancyForce3D(UnitConverter< T, DESCRIPTOR > const &converter, std::vector< T > direction, T g=9.81)
~BuoyancyForce3D() override
Prototype for all particle forces.
Conversion between physical and lattice units, as well as discretization.
Groups all the include .h-files for 3D particles forces in the particles forces directory.
Top level namespace for all of OpenLB.
Unit conversion handling – header file.