Loading...
Searching...
No Matches
fieldEntry Class Reference

A ccm field entry with short name, name, maxId and type. More...

#include <ccmSolutionTable.H>

Public Member Functions

 fieldEntry (const word &shortName, const string &fullName, const char *units=nullptr)
 Construct from components with optional units.
const wordname () const noexcept
 The field name (PROSTAR short name).
const stringfullName () const noexcept
 The full field name.
const stringunits () const noexcept
 The field units.
label maxCellId () const noexcept
 The max cell id for the field.
label maxFaceId () const noexcept
 The max face id for the field.
void units (const std::string &units)
 Set the field units.
void maxCellId (const int val)
 Set the max cell Id for the field.
void maxFaceId (const int val)
 Set the max face Id for the field.

Friends

Ostreamoperator<< (Ostream &os, const fieldEntry &entry)

Detailed Description

A ccm field entry with short name, name, maxId and type.

shortName => ( fullName, maxId, type );

Definition at line 153 of file ccmSolutionTable.H.

Constructor & Destructor Documentation

◆ fieldEntry()

fieldEntry ( const word & shortName,
const string & fullName,
const char * units = nullptr )
inline

Construct from components with optional units.

Definition at line 189 of file ccmSolutionTable.H.

References fullName(), and units().

Referenced by operator<<.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ name()

const word & name ( ) const
inlinenoexcept

The field name (PROSTAR short name).

Definition at line 214 of file ccmSolutionTable.H.

References Foam::noexcept.

◆ fullName()

const string & fullName ( ) const
inlinenoexcept

The full field name.

Definition at line 219 of file ccmSolutionTable.H.

References Foam::noexcept.

Referenced by fieldEntry().

Here is the caller graph for this function:

◆ units() [1/2]

const string & units ( ) const
inlinenoexcept

The field units.

Definition at line 224 of file ccmSolutionTable.H.

References Foam::noexcept.

Referenced by fieldEntry(), and units().

Here is the caller graph for this function:

◆ maxCellId() [1/2]

label maxCellId ( ) const
inlinenoexcept

The max cell id for the field.

Definition at line 229 of file ccmSolutionTable.H.

References Foam::noexcept.

◆ maxFaceId() [1/2]

label maxFaceId ( ) const
inlinenoexcept

The max face id for the field.

Definition at line 234 of file ccmSolutionTable.H.

References Foam::noexcept.

◆ units() [2/2]

void units ( const std::string & units)
inline

Set the field units.

Definition at line 242 of file ccmSolutionTable.H.

References units().

Here is the call graph for this function:

◆ maxCellId() [2/2]

void maxCellId ( const int val)
inline

Set the max cell Id for the field.

Definition at line 253 of file ccmSolutionTable.H.

◆ maxFaceId() [2/2]

void maxFaceId ( const int val)
inline

Set the max face Id for the field.

Definition at line 265 of file ccmSolutionTable.H.

◆ operator<<

Ostream & operator<< ( Ostream & os,
const fieldEntry & entry )
friend

Definition at line 276 of file ccmSolutionTable.H.

References fieldEntry(), and os().


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