This class manages a list of boundary conditions which get applied in the order in which they are stored.
More...
#include <BoundarySet.hpp>
This class manages a list of boundary conditions which get applied in the order in which they are stored.
◆ FillBoundary() [1/2]
void fub::amrex::cutcell::BoundarySet::FillBoundary |
( |
::amrex::MultiFab & |
mf, |
|
|
const GriddingAlgorithm & |
gridding, |
|
|
int |
level |
|
) |
| |
Apply each condition on the specified MultiFab mf
.
- Parameters
-
[in,out] | mf | The MultiFab that will be filled. |
[in] | gridding | The GriddingAlgorithm will serve as a context. |
[in] | level | The level number which is associated with the specified MultiFab mf . |
- Exceptions
-
Exceptions | will be propogated to the user if any of the stored boundary conditions throws an exception. |
- Precondition
mf
is defined with the same (BoxArray, DistributionMapping) as defined in the gridding algorithm at refinement level level
.
◆ FillBoundary() [2/2]
void fub::amrex::cutcell::BoundarySet::FillBoundary |
( |
::amrex::MultiFab & |
mf, |
|
|
const GriddingAlgorithm & |
gridding, |
|
|
int |
level, |
|
|
Direction |
dir |
|
) |
| |
Apply each condition on the specified MultiFab mf
but only in direction dir
.
- Parameters
-
[in,out] | mf | The MultiFab that will be filled. |
[in] | gridding | The GriddingAlgorithm will serve as a context. |
[in] | level | The level number which is associated with the specified MultiFab mf . |
[in] | dir | The direction in which the physical boundary shall be filled. |
- Exceptions
-
Exceptions | will be propogated to the user if any of the stored boundary conditions throws an exception. |
- Precondition
mf
is defined with the same (BoxArray, DistributionMapping) as defined in the gridding algorithm at refinement level level
.
◆ conditions
This vector stores all boundary conditions.
The documentation for this struct was generated from the following file: