OpenLB 1.7
Loading...
Searching...
No Matches
Public Member Functions | List of all members
olb::TransferExternalForce3D< T, PARTICLETYPE > Class Template Reference

#include <transferExternalForce3D.h>

+ Inheritance diagram for olb::TransferExternalForce3D< T, PARTICLETYPE >:
+ Collaboration diagram for olb::TransferExternalForce3D< T, PARTICLETYPE >:

Public Member Functions

 TransferExternalForce3D ()
 
 ~TransferExternalForce3D () override
 Destructor.
 
void applyForce (typename std::deque< PARTICLETYPE< T > >::iterator p, int pInt, ParticleSystem3D< T, PARTICLETYPE > &psSys) override
 
- Public Member Functions inherited from olb::Force3D< T, PARTICLETYPE >
 Force3D ()
 
 Force3D (Force3D< T, PARTICLETYPE > &)
 
 Force3D (const Force3D< T, PARTICLETYPE > &)
 
virtual ~Force3D ()
 

Additional Inherited Members

- Protected Attributes inherited from olb::Force3D< T, PARTICLETYPE >
OstreamManager clout
 

Detailed Description

template<typename T, template< typename U > class PARTICLETYPE>
class olb::TransferExternalForce3D< T, PARTICLETYPE >

Definition at line 36 of file transferExternalForce3D.h.

Constructor & Destructor Documentation

◆ TransferExternalForce3D()

template<typename T , template< typename U > class PARTICLETYPE>
olb::TransferExternalForce3D< T, PARTICLETYPE >::TransferExternalForce3D ( )

Definition at line 36 of file transferExternalForce3D.hh.

37 : Force3D<T, PARTICLETYPE>()
38{
39}

◆ ~TransferExternalForce3D()

template<typename T , template< typename U > class PARTICLETYPE>
olb::TransferExternalForce3D< T, PARTICLETYPE >::~TransferExternalForce3D ( )
inlineoverride

Destructor.

Definition at line 41 of file transferExternalForce3D.h.

41{}

Member Function Documentation

◆ applyForce()

template<typename T , template< typename U > class PARTICLETYPE>
void olb::TransferExternalForce3D< T, PARTICLETYPE >::applyForce ( typename std::deque< PARTICLETYPE< T > >::iterator p,
int pInt,
ParticleSystem3D< T, PARTICLETYPE > & psSys )
overridevirtual

Implements olb::Force3D< T, PARTICLETYPE >.

Definition at line 42 of file transferExternalForce3D.hh.

45{
46 p->getForce()[0] += p->getStoreForce()[0];
47 p->getForce()[1] += p->getStoreForce()[1];
48 p->getForce()[2] += p->getStoreForce()[2];
49
50 p->resetStoreForce();
51}

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