HyPar  1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
DomainBoundary Struct Reference

Structure containing the variables and function pointers defining a boundary. More...

#include <boundaryconditions.h>

Data Fields

char bctype [_MAX_STRING_SIZE_]
 
int dim
 
int face
 
double * xmin
 
double * xmax
 
int on_this_proc
 
int * is
 
int * ie
 
int(* BCFunctionU )(void *, void *, int, int, int *, int, double *, double)
 
double * DirichletValue
 
double * SpongeValue
 
int * UnsteadyDirichletSize
 
double * UnsteadyDirichletData
 
char UnsteadyDirichletFilename [_MAX_STRING_SIZE_]
 
double gamma
 
double FlowDensity
 
double * FlowVelocity
 
double FlowPressure
 
int * UnsteadyTemperatureSize
 
double * UnsteadyTimeLevels
 
double * UnsteadyTemperatureData
 
char UnsteadyTemperatureFilename [_MAX_STRING_SIZE_]
 
int gpu_npoints_bounds
 
int gpu_npoints_local_wghosts
 
int * gpu_bounds
 
int * gpu_is
 
int * gpu_ie
 
double * gpu_FlowVelocity
 

Detailed Description

Structure containing the variables and function pointers defining a boundary.

This structure contains all the variables and function pointers needed to specify a boundary zone.

Definition at line 68 of file boundaryconditions.h.

Field Documentation

char bctype[_MAX_STRING_SIZE_]

Type of boundary (_PERIODIC_, _EXTRAPOLATE_, _DIRICHLET_, etc)

Definition at line 71 of file boundaryconditions.h.

int dim

Dimension along which this BC applies (For an n -dimensional problem, dimensions are indexed 0 to n-1 )

Definition at line 73 of file boundaryconditions.h.

int face

Face on which this BC applies (1 -> left/min, or -1 -> right/max)

Definition at line 75 of file boundaryconditions.h.

double* xmin

Spatial extent of this boundary condition: xmin is an array of size n for a n -dimensional problem containing the starting spatial coordinates of the zone where this boundary applies

Definition at line 77 of file boundaryconditions.h.

double* xmax

Spatial extent of this boundary condition: xmax is an array of size n for a n -dimensional problem containing the ending spatial coordinates of the zone where this boundary applies

Definition at line 79 of file boundaryconditions.h.

int on_this_proc

Flag indicating if this BC is applicable on this process (not an input)

Definition at line 81 of file boundaryconditions.h.

int* is

Definition at line 82 of file boundaryconditions.h.

int * ie

Index range on which to apply this BC on this process (not an input)

Definition at line 82 of file boundaryconditions.h.

int(* BCFunctionU)(void *, void *, int, int, int *, int, double *, double)

Pointer to the specific boundary condition function for the solution vector U

Definition at line 85 of file boundaryconditions.h.

double* DirichletValue

Specified value for steady Dirichlet BC

Definition at line 87 of file boundaryconditions.h.

double* SpongeValue

Specified value for steady Sponge BC

Definition at line 88 of file boundaryconditions.h.

int* UnsteadyDirichletSize

Size of array to hold unsteady Dirichlet data

Definition at line 90 of file boundaryconditions.h.

double* UnsteadyDirichletData

Array to hold unsteady Dirichlet data

Definition at line 91 of file boundaryconditions.h.

char UnsteadyDirichletFilename[_MAX_STRING_SIZE_]

Filename to read in unsteady Dirichlet data from

Definition at line 93 of file boundaryconditions.h.

double gamma

Ratio of specific heats (specific to Euler/Navier-Stokes)

Definition at line 96 of file boundaryconditions.h.

double FlowDensity

Boundary flow density (specific to Euler/Navier-Stokes)

Definition at line 96 of file boundaryconditions.h.

double * FlowVelocity

Boundary flow velocity (specific to Euler/Navier-Stokes)

Definition at line 96 of file boundaryconditions.h.

double FlowPressure

Boundary flow pressure (specific to Euler/Navier-Stokes)

Definition at line 96 of file boundaryconditions.h.

int* UnsteadyTemperatureSize

Size of array to hold unsteady temperature data for BCThermalSlipWallU() and BCThermalNoslipWallU()

Definition at line 102 of file boundaryconditions.h.

double* UnsteadyTimeLevels

Array to hold the time levels for unsteady temperature data for BCThermalSlipWallU() and BCThermalNoslipWallU()

Definition at line 103 of file boundaryconditions.h.

double* UnsteadyTemperatureData

Array to hold unsteady temperature data for BCThermalSlipWallU() and BCThermalNoslipWallU()

Definition at line 104 of file boundaryconditions.h.

char UnsteadyTemperatureFilename[_MAX_STRING_SIZE_]

Filename to read in unsteady temperature data from for the BCThermalSlipWallU() and BCThermalNoslipWallU() boundary condition

Definition at line 106 of file boundaryconditions.h.

int gpu_npoints_bounds

Definition at line 109 of file boundaryconditions.h.

int gpu_npoints_local_wghosts

Definition at line 110 of file boundaryconditions.h.

int* gpu_bounds

Definition at line 111 of file boundaryconditions.h.

int * gpu_is

Definition at line 111 of file boundaryconditions.h.

int * gpu_ie

Definition at line 111 of file boundaryconditions.h.

double* gpu_FlowVelocity

Definition at line 112 of file boundaryconditions.h.


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