METHOD
Outflow Class Reference

#include <boundaryConds.h>

Inheritance diagram for Outflow:
Collaboration diagram for Outflow:

Public Member Functions

 Outflow (Data *data)
 
virtual ~Outflow ()
 
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

Outflow boundary conditions

Imposes flows that exit the domain freely at all boundaries, analogous to a domain that extends to infinity in each direction. All ghost cells are identical to their nearest physical cell.
For left-right reconstruction:
Before...
______________________________
|0|1|2|3|4||5|6|..... |12||13||14|15|16|17|
|0|1|2|3|4||5|6|..... |12||13||14|15|16|17|


After....
______________________________
|4|4|4|4||4|5|6|..... |12||13||13|13|13|13|
|4|4|4|4||4|5|6|..... |12||13||13|13|13|13|


..and similar in other directions.

Definition at line 70 of file boundaryConds.h.

Constructor & Destructor Documentation

◆ Outflow()

Outflow::Outflow ( 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 80 of file boundaryConds.h.

◆ ~Outflow()

virtual Outflow::~Outflow ( )
inlinevirtual

Destructor.

Definition at line 82 of file boundaryConds.h.

Member Function Documentation

◆ apply()

void Outflow::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: