METHOD
Weno7 Class Reference

#include <weno.h>

Inheritance diagram for Weno7:
Collaboration diagram for Weno7:

Public Member Functions

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

Constructor & Destructor Documentation

◆ Weno7()

Weno7::Weno7 ( Data data)
inline

Definition at line 349 of file weno.h.

◆ ~Weno7()

virtual Weno7::~Weno7 ( )
inlinevirtual

Destructor.

Upwind reconstruction in x-dir

Definition at line 351 of file weno.h.

Member Function Documentation

◆ downwindX()

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