METHOD
Weno9 Class Reference

#include <weno.h>

Inheritance diagram for Weno9:
Collaboration diagram for Weno9:

Public Member Functions

 Weno9 (Data *data)
 
virtual ~Weno9 ()
 
virtual double upwindX (double *arr, int var, int i, int j, int k)
 
virtual double upwindY (double *arr, int var, int i, int j, int k)
 
virtual double upwindZ (double *arr, int var, int i, int j, int k)
 
virtual double downwindX (double *arr, int var, int i, int j, int k)
 
virtual double downwindY (double *arr, int var, int i, int j, int k)
 
virtual double downwindZ (double *arr, int var, int i, int j, int k)
 
- Public Member Functions inherited from WenoBase
 WenoBase (Data *data, int order)
 
virtual ~WenoBase ()
 
virtual void reconstructUpwind (double *arr, double *recon, int nvars, int dir)
 
virtual void reconstructDownwind (double *arr, double *recon, int nvars, int dir)
 
virtual void checkSufficientGhostZones ()
 

Additional Inherited Members

- Public Attributes inherited from WenoBase
Datadata
 
int order
 
int shift
 

Detailed Description

Definition at line 439 of file weno.h.

Constructor & Destructor Documentation

◆ Weno9()

Weno9::Weno9 ( Data data)
inline

Definition at line 442 of file weno.h.

◆ ~Weno9()

virtual Weno9::~Weno9 ( )
inlinevirtual

Destructor.

Upwind reconstruction in x-dir

Definition at line 444 of file weno.h.

Member Function Documentation

◆ downwindX()

virtual double Weno9::downwindX ( double *  arr,
int  var,
int  i,
int  j,
int  k 
)
virtual

Downwind reconstruction in y-dir.

Reconstruct a full size array for a single cell. Return the downwind reconstruction for this cell.
Parameters
[in]*arrPointer to the array to reconstruct a cell, Size is \(N \times N_x \times N_y \times N_z\), where \(N\) is anything.
varVariable number in the array to reconstruct
iCell number in the x-direction to reconstruct
jCell number in the y-direction to reconstruct
kCell number in the z-direction to reconstruct

Implements WenoBase.

◆ downwindY()

virtual double Weno9::downwindY ( double *  arr,
int  var,
int  i,
int  j,
int  k 
)
virtual

Downwind reconstruction in z-dir.

Reconstruct a full size array for a single cell. Return the downwind reconstruction for this cell.
Parameters
[in]*arrPointer to the array to reconstruct a cell, Size is \(N \times N_x \times N_y \times N_z\), where \(N\) is anything.
varVariable number in the array to reconstruct
iCell number in the x-direction to reconstruct
jCell number in the y-direction to reconstruct
kCell number in the z-direction to reconstruct

Implements WenoBase.

◆ downwindZ()

virtual double Weno9::downwindZ ( double *  arr,
int  var,
int  i,
int  j,
int  k 
)
virtual
Reconstruct a full size array for a single cell. Return the downwind reconstruction for this cell.
Parameters
[in]*arrPointer to the array to reconstruct a cell, Size is \(N \times N_x \times N_y \times N_z\), where \(N\) is anything.
varVariable number in the array to reconstruct
iCell number in the x-direction to reconstruct
jCell number in the y-direction to reconstruct
kCell number in the z-direction to reconstruct

Implements WenoBase.

◆ upwindX()

virtual double Weno9::upwindX ( double *  arr,
int  var,
int  i,
int  j,
int  k 
)
virtual

Upwind reconstruction in y-dir.

Reconstruct a full size array for a single cell. Return the upwind reconstruction for this cell.
Parameters
[in]*arrPointer to the array to reconstruct a cell, Size is \(N \times N_x \times N_y \times N_z\), where \(N\) is anything.
varVariable number in the array to reconstruct
iCell number in the x-direction to reconstruct
jCell number in the y-direction to reconstruct
kCell number in the z-direction to reconstruct

Implements WenoBase.

◆ upwindY()

virtual double Weno9::upwindY ( double *  arr,
int  var,
int  i,
int  j,
int  k 
)
virtual

Upwind reconstruction in z-dir.

Reconstruct a full size array for a single cell. Return the upwind reconstruction for this cell.
Parameters
[in]*arrPointer to the array to reconstruct a cell, Size is \(N \times N_x \times N_y \times N_z\), where \(N\) is anything.
varVariable number in the array to reconstruct
iCell number in the x-direction to reconstruct
jCell number in the y-direction to reconstruct
kCell number in the z-direction to reconstruct

Implements WenoBase.

◆ upwindZ()

virtual double Weno9::upwindZ ( double *  arr,
int  var,
int  i,
int  j,
int  k 
)
virtual

Downwind reconstruction in x-dir.

Reconstruct a full size array for a single cell. Return the upwind reconstruction for this cell.
Parameters
[in]*arrPointer to the array to reconstruct a cell, Size is \(N \times N_x \times N_y \times N_z\), where \(N\) is anything.
varVariable number in the array to reconstruct
iCell number in the x-direction to reconstruct
jCell number in the y-direction to reconstruct
kCell number in the z-direction to reconstruct

Implements WenoBase.


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