HyPar
1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
|
Dirichlet boundary conditions. More...
Go to the source code of this file.
Functions | |
int | BCDirichletU (void *b, void *m, int ndims, int nvars, int *size, int ghosts, double *phi, double waqt) |
Dirichlet boundary conditions.
Definition in file BCDirichlet.c.
int BCDirichletU | ( | void * | b, |
void * | m, | ||
int | ndims, | ||
int | nvars, | ||
int * | size, | ||
int | ghosts, | ||
double * | phi, | ||
double | waqt | ||
) |
Applies (steady) Dirichlet boundary conditions for the solution: the ghost points at the physical boundaries are set to specified values
b | Boundary object of type DomainBoundary |
m | MPI object of type MPIVariables |
ndims | Number of spatial dimensions |
nvars | Number of variables/DoFs per grid point |
size | Integer array with the number of grid points in each spatial dimension |
ghosts | Number of ghost points |
phi | The solution array on which to apply the boundary condition |
waqt | Current solution time |
Definition at line 13 of file BCDirichlet.c.