FlowPatternUp< NX, NY > Class Template Reference

FlowPatternUp hardwired flow pattern, Direction=up. More...

#include <FlowPattern.h>

Inheritance diagram for FlowPatternUp< NX, NY >:

Public Member Functions

 FlowPatternUp (void)
 
- Public Member Functions inherited from FlowPatternSimple< NX, NY >
 FlowPatternSimple (Libpf::Utility::Direction d)
 
int countIn (void) const override
 return the number of inlets More...
 
int countOut (void) const override
 return the number of outlets More...
 
Libpf::Utility::Direction operator() (int i, int j) const override
 returns the Direction of the outgoing flowpath from cell i, j More...
 
bool in (int i, int j) const override
 returns true if the inlet of cell i, j is connected to source, i.e. if the cell is the beginning of a flowpath More...
 
bool out (int i, int j) const override
 returns true if the outlet of cell i, j is connected to sink, i.e. if the cell is the end of a flowpath More...
 
- Public Member Functions inherited from FlowPattern
 FlowPattern (int Nx, int Ny)
 
virtual ~FlowPattern (void)
 
void print (void) const
 print to std::cout a complete description of the flow pattern More...
 
int Xtranslated (int i, int j) const
 returns the X coordinate translated according to the Direction of cell i, j More...
 
int Ytranslated (int i, int j) const
 returns the Y coordinate translated according to the Direction of cell i, j More...
 
virtual int countIn (void) const =0
 return the number of inlets More...
 
virtual int countOut (void) const =0
 return the number of outlets More...
 
virtual Libpf::Utility::Direction operator() (int i, int j) const =0
 returns the Direction of the outgoing flowpath from cell i, j More...
 
virtual bool in (int i, int j) const =0
 returns true if the inlet of cell i, j is connected to source, i.e. if the cell is the beginning of a flowpath More...
 
virtual bool out (int i, int j) const =0
 returns true if the outlet of cell i, j is connected to sink, i.e. if the cell is the end of a flowpath More...
 

Additional Inherited Members

- Protected Member Functions inherited from FlowPattern
int translateX_ (Libpf::Utility::Direction d, int i) const
 returns the X coordinate translated according to Direction d More...
 
int translateY_ (Libpf::Utility::Direction d, int j) const
 returns the Y coordinate translated according to Direction d More...
 
- Protected Attributes inherited from FlowPattern
int Nx_
 number of cells in horizontal Direction More...
 
int Ny_
 

Detailed Description

template<int NX, int NY>
class FlowPatternUp< NX, NY >

FlowPatternUp hardwired flow pattern, Direction=up.

Constructor & Destructor Documentation

◆ FlowPatternUp()

template<int NX, int NY>
FlowPatternUp< NX, NY >::FlowPatternUp ( void  )
inline

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