METHOD
Weno5 Class Reference

#include <weno.h>

Inheritance diagram for Weno5:
Collaboration diagram for Weno5:

Public Member Functions

 Weno5 (Data *data)
 
virtual ~Weno5 ()
 
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 253 of file weno.h.

Constructor & Destructor Documentation

◆ Weno5()

Weno5::Weno5 ( Data data)
inline

Definition at line 256 of file weno.h.

◆ ~Weno5()

virtual Weno5::~Weno5 ( )
inlinevirtual

Destructor.

Upwind reconstruction in x-dir

Definition at line 258 of file weno.h.

Member Function Documentation

◆ downwindX()

virtual double Weno5::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 Weno5::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 Weno5::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 Weno5::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 Weno5::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 Weno5::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: