Loading...
Searching...
No Matches
forceCoeffs::forceComponents Class Reference

#include <forceCoeffs.H>

Public Member Functions

 forceComponents ()
 Default construct.
const vector total () const noexcept
 Return the sum of the components.
void reset () noexcept
 Reset the components to zero.
void reset (const vector &pressure, const vector &viscous, const vector &internal) noexcept
 Reset the components to given values.
vector operator[] (const label cmpt) const
 Return components in a given direction.

Detailed Description

Definition at line 441 of file forceCoeffs.H.

Constructor & Destructor Documentation

◆ forceComponents()

forceComponents ( )
inline

Default construct.

Definition at line 468 of file forceCoeffs.H.

References Foam::Zero.

Member Function Documentation

◆ total()

const vector total ( ) const
inlinenoexcept

Return the sum of the components.

Definition at line 481 of file forceCoeffs.H.

References Foam::noexcept.

◆ reset() [1/2]

void reset ( )
inlinenoexcept

Reset the components to zero.

Definition at line 489 of file forceCoeffs.H.

References Foam::noexcept, and Foam::Zero.

◆ reset() [2/2]

void reset ( const vector & pressure,
const vector & viscous,
const vector & internal )
inlinenoexcept

Reset the components to given values.

Definition at line 499 of file forceCoeffs.H.

◆ operator[]()

vector operator[] ( const label cmpt) const
inline

Return components in a given direction.

Definition at line 517 of file forceCoeffs.H.


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