#include <AmrLagrangeInterpolater.h>
|
| AmrLagrangeInterpolater (Order order) |
|
void | stencil (const AmrIntVect_t &iv, const basefab_t &fab, umap_t &map, const scalar_t &scale, Level *mglevel) |
|
void | coarse (const AmrIntVect_t &iv, umap_t &map, const scalar_t &scale, lo_t dir, lo_t shift, const basefab_t &rfab, const AmrIntVect_t &riv, Level *mglevel) |
|
void | fine (const AmrIntVect_t &iv, umap_t &map, const scalar_t &scale, lo_t dir, lo_t shift, Level *mglevel) |
|
| AmrInterpolater (lo_t nPoints) |
|
const lo_t & | getNumberOfPoints () const |
|
virtual void | fine (const AmrIntVect_t &, umap_t &, const scalar_t &, lo_t, lo_t, const basefab_t &, Level *) |
|
|
void | fineLinear_m (const AmrIntVect_t &iv, umap_t &map, const scalar_t &scale, lo_t dir, lo_t shift, Level *mglevel) |
|
void | fineQuadratic_m (const AmrIntVect_t &iv, umap_t &map, const scalar_t &scale, lo_t dir, lo_t shift, Level *mglevel) |
|
void | crseLinear_m (const AmrIntVect_t &iv, umap_t &map, const scalar_t &scale, lo_t dir, lo_t shift, const basefab_t &rfab, const AmrIntVect_t &riv, Level *mglevel) |
|
void | crseQuadratic_m (const AmrIntVect_t &iv, umap_t &map, const scalar_t &scale, lo_t dir, lo_t shift, const basefab_t &rfab, const AmrIntVect_t &riv, Level *mglevel) |
|
template<class Level>
class AmrLagrangeInterpolater< Level >
Definition at line 35 of file AmrLagrangeInterpolater.h.
◆ AmrIntVect_t
◆ basefab_t
◆ go_t
◆ lo_t
◆ scalar_t
◆ umap_t
◆ Order
◆ AmrLagrangeInterpolater()
◆ coarse()
Coarse-Fine-Interface Get stencil of coarse side
- Parameters
-
iv | is the coarse cell at the interface (center cell of Laplacian) |
map | with global matrix indices of coarse level cells and matrix entries of coarse level cells (coefficients) |
scale | of matrix values |
dir | direction of interface (0 "horizontal", 1 "vertical", 2 "longitudinal") |
shift | is either -1 or 1. If the refined coarse cell is on the left / lower / front side, shift is equal to -1, otherwise the interface is on the right / upper / back side and the value is 1. |
rfab | contains all coarse cells that got refined |
riv | is the fine cell at the interface |
mglevel | used to get the global indices and refinement ratio among levels, and boundary values at physical domain, e.g. Dirichlet, open BC |
Implements AmrInterpolater< Level >.
Definition at line 107 of file AmrLagrangeInterpolater.hpp.
References LINEAR, and QUADRATIC.
◆ crseLinear_m()
First oder interpolation on coarse cell interface side
- Parameters
-
iv | is the coarse cell at the interface (center cell of Laplacian) |
map | with global matrix indices of coarse level cells and values matrix entries of coarse level cells (coefficients) |
scale | of matrix values |
dir | direction of interface (0 "horizontal", 1 "vertical", 2 "longitudinal") |
shift | is either -1 or 1. If the refined coarse cell is on the left / lower / front side, shift is equal to -1, otherwise the interface is on the right / upper / back side and the value is 1. |
ba | contains all coarse cells that got refined |
riv | is the fine cell at the interface |
mglevel | used to get the global indices and refinement ratio among levels, and boundary values at physical domain, e.g. Dirichlet, open BC |
Definition at line 197 of file AmrLagrangeInterpolater.hpp.
References begin(), and end().
◆ crseQuadratic_m()
Second order interpolation on coarse cell interface side
- Parameters
-
iv | is the coarse cell at the interface (center cell of Laplacian) |
map | with global matrix indices of coarse level cells and values matrix entries of coarse level cells (coefficients) |
scale | of matrix values |
dir | direction of interface (0 "horizontal", 1 "vertical", 2 "longitudinal") |
shift | is either -1 or 1. If the refined coarse cell is on the left / lower / front side, shift is equal to -1, otherwise the interface is on the right / upper / back side and the value is 1. |
ba | contains all coarse cells that got refined |
riv | is the fine cell at the interface |
mglevel | used to get the global indices and refinement ratio among levels, and boundary values at physical domain, e.g. Dirichlet, open BC |
Definition at line 387 of file AmrLagrangeInterpolater.hpp.
References begin(), and end().
◆ fine()
Coarse-Fine-Interface Get stencil of fine side
- Parameters
-
iv | is the fine ghost cell at the interface (on coarse cell that is not refined) |
map | with global matrix indices of fine level cells and matrix entries of fine level cells (coefficients) |
scale | of matrix values |
dir | direction of interface (0 "horizontal", 1 "vertical", 2 "longitudinal") |
shift | is either -1 or 1. If the refined coarse cell is on the left / lower / front side, shift is equal to -1, otherwise the interface is on the right / upper / back side and the value is 1. |
mglevel | used to get the global indices and refinement ratio among levels, and boundary avlues at physical domain, e.g. Dirichlet, open BC |
Reimplemented from AmrInterpolater< Level >.
Definition at line 132 of file AmrLagrangeInterpolater.hpp.
References LINEAR, and QUADRATIC.
◆ fineLinear_m()
First order interpolation on fine cell interface side
- Parameters
-
iv | is the fine ghost cell at the interface (on coarse cell that is not refined) |
map | with global matrix indices of fine level cells and matrix entries of fine level cells (coefficients) |
scale | of matrix values |
dir | direction of interface (0 "horizontal", 1 "vertical", 2 "longitudinal") |
shift | is either -1 or 1. If the refined coarse cell is on the left / lower / front side, shift is equal to -1, otherwise the interface is on the right / upper / back side and the value is 1. |
mglevel | used to get the global indices and refinement ratio among levels, and boundary avlues at physical domain, e.g. Dirichlet, open BC |
Definition at line 156 of file AmrLagrangeInterpolater.hpp.
◆ fineQuadratic_m()
Second order interpolation on fine cell interface side
- Parameters
-
iv | is the fine ghost cell at the interface (on coarse cell that is not refined) |
map | with global matrix indices of fine level cells and values matrix entries of fine level cells (coefficients) |
scale | of matrix values |
dir | direction of interface (0 "horizontal", 1 "vertical", 2 "longitudinal") |
shift | is either -1 or 1. If the refined coarse cell is on the left / lower / front side, shift is equal to -1, otherwise the interface is on the right / upper / back side and the value is 1. |
mglevel | used to get the global indices and refinement ratio among levels, and boundary avlues at physical domain, e.g. Dirichlet, open BC |
Definition at line 178 of file AmrLagrangeInterpolater.hpp.
◆ stencil()
Get the stencil to interpolate a value from coarse to fine level
- Parameters
-
iv | is the fine cell where we want to have the interpolated value |
fab | cells |
map | with global matrix indices of coarse level cells and matrix entries of coarse level cells (coefficients) |
scale | to apply to matrix values |
mglevel | used to get the global indices and refinement ratio among levels, and boundary values at physical domain, e.g. Dirichlet, open BC |
Implements AmrInterpolater< Level >.
Definition at line 95 of file AmrLagrangeInterpolater.hpp.
◆ lookup1a_ms
◆ lookup1b_ms
◆ lookup2a_ms
◆ lookup2b_ms
The documentation for this class was generated from the following files: