METHOD
OutflowRotatedBW Class Reference

#include <boundaryConds.h>

Inheritance diagram for OutflowRotatedBW:
Collaboration diagram for OutflowRotatedBW:

Public Member Functions

 OutflowRotatedBW (Data *data)
 
virtual ~OutflowRotatedBW ()
 
void apply (double *cons, double *prims=NULL, double *aux=NULL)
 

Additional Inherited Members

- Protected Member Functions inherited from Bcs
 Bcs (Data *data)
 
virtual ~Bcs ()
 
- Protected Attributes inherited from Bcs
Datadata
 

Detailed Description

Out flow boundary conditions for the rotated 2D Brio-Wu

Using the conventional outflow BCs for the diagonal BW problem results in shocks entering from along the main diagonal. This class deals with these shocks. Using this.apply behaves as if the BW problem has been rotated, as required.

Definition at line 104 of file boundaryConds.h.

Constructor & Destructor Documentation

◆ OutflowRotatedBW()

OutflowRotatedBW::OutflowRotatedBW ( Data data)
inline

Constructor.

Calls constructor of base class to store the pointer to the Data class.

Parameters
[in]*datapointer to Data class
See also
Bcs::Bcs

Definition at line 114 of file boundaryConds.h.

◆ ~OutflowRotatedBW()

virtual OutflowRotatedBW::~OutflowRotatedBW ( )
inlinevirtual

Destructor.

Definition at line 116 of file boundaryConds.h.

Member Function Documentation

◆ apply()

void OutflowRotatedBW::apply ( double *  cons,
double *  prims = NULL,
double *  aux = NULL 
)
virtual

Application function.

Applies the Outflow boundary conditions to the ghost cells.

Parameters
[in,out]*conspointer to the conservative (sized) vector
[in,out]*primsoptional pointer to the primitive vector
[in,out]*auxoptional pointer to the primitive vector
See also
Bcs::apply

Implements Bcs.


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