|
Saras
Finite Difference Solver for Fluid Dynamics Simulations
|
Contains all the global variables related to the imposing of initial conditions, and functions to impose them. More...
#include "lib/initial/initial.h"
Public Member Functions | |
| initial (const grid &mesh) | |
| Constructor of the initial class. More... | |
| virtual void | initializeField (vfield &uField) |
| Prototype function to impose the initial conditions on the given field. More... | |
| virtual void | initializeField (vfield &uField, sfield &tField) |
| Prototype function to impose the initial conditions on the given field. More... | |
Protected Attributes | |
| const grid & | mesh |
Contains all the global variables related to the imposing of initial conditions, and functions to impose them.
| initial::initial | ( | const grid & | mesh | ) |
Constructor of the initial class.
The empty constructer merely initializes the local reference to the global mesh variable.
| mesh | is a const reference to the global data contained in the grid class |
|
virtual |
Prototype function to impose the initial conditions on the given field.
| uField | is a reference to the velocity vector field to be initialized |
Reimplemented in taylorGreen, channelSine, channelRand, and zeroInitial.
Prototype function to impose the initial conditions on the given field.
| uField | is a reference to the velocity vector field to be initialized |
| uField | is a reference to the scalar field to be initialized |
Reimplemented in zeroInitial.