Class for interpolating data to fine grids. Can use constant interpolation or include limiters.
More...
|
|
| EBCoarseToFineInterp () noexcept |
| | Default constructor. Must subsequently call the define method.
|
| |
| | EBCoarseToFineInterp (const EBLevelGrid &a_eblgFine, const EBLevelGrid &a_eblgCoFi, const EBLevelGrid &a_eblgCoar, const int &a_refRat) noexcept |
| | Constructor. Constructs a valid object which can be used for regridding.
|
| |
|
| EBCoarseToFineInterp (const EBCoarseToFineInterp &)=delete |
| | Disallowed copy constructor.
|
| |
|
| EBCoarseToFineInterp (const EBCoarseToFineInterp &&)=delete |
| | Disallowed move constructor.
|
| |
|
virtual | ~EBCoarseToFineInterp () noexcept |
| | Destructor.
|
| |
|
EBCoarseToFineInterp & | operator= (const EBCoarseToFineInterp &)=delete |
| | Disallowed copy operator.
|
| |
|
EBCoarseToFineInterp & | operator= (const EBCoarseToFineInterp &&)=delete |
| | Disallowed move operator.
|
| |
| virtual void | define (const EBLevelGrid &a_eblgFine, const EBLevelGrid &a_eblgCoFi, const EBLevelGrid &a_eblgCoar, const int &a_refRat) noexcept |
| | Define operation. Puts object in usable state.
|
| |
| virtual void | interpolate (LevelData< EBCellFAB > &a_fineData, const LevelData< EBCellFAB > &a_coarData, const Interval &a_variables, const EBCoarseToFineInterp::Type &a_interpType) const noexcept |
| | Interpolate to the fine grid using the specified method.
|
| |
| virtual void | interpolate (LevelData< BaseIVFAB< Real > > &a_fineData, const LevelData< BaseIVFAB< Real > > &a_coarData, const Interval &a_variables, const EBCoarseToFineInterp::Type &a_interpType) const noexcept |
| | Interpolate to the fine grid using the specified method.
|
| |
|
|
virtual void | defineWeights () noexcept |
| | Define weights for cut-cell conservative regridding.
|
| |
| virtual void | interpolatePWC (EBCellFAB &a_fineData, const EBCellFAB &a_coarData, const DataIndex &a_dit, const int &a_fineVar, const int &a_coarVar) const noexcept |
| | Piecewise constant interpolation of an EBCellFAB. This ignores the volume fraction. This sets the fine-grid data to the coarse-grid data, so it is not conservative.
|
| |
| virtual void | interpolateConservativePWC (EBCellFAB &a_fineData, const EBCellFAB &a_coarData, const DataIndex &a_dit, const int &a_fineVar, const int &a_coarVar) const noexcept |
| | Piecewise constant interpolation of an EBCellFAB. Does not use slopes.
|
| |
| virtual void | interpolateConservativeSlope (EBCellFAB &a_fineData, const EBCellFAB &a_coarData, const DataIndex &a_dit, const int &a_fineVar, const int &a_coarVar, const SlopeLimiter &a_limiter) const noexcept |
| | Sloped interpolation of an EBCellFAB. Uses specified input slope.
|
| |
| virtual void | interpolatePWC (BaseIVFAB< Real > &a_fineData, const BaseIVFAB< Real > &a_coarData, const DataIndex &a_dit, const int &a_fineVar, const int &a_coarVar) const noexcept |
| | Piecewise constant interpolation of an EB-data. This ignores the area fraction. This sets the fine-grid data to the coarse-grid data.
|
| |
| virtual void | interpolateConservativePWC (BaseIVFAB< Real > &a_fineData, const BaseIVFAB< Real > &a_coarData, const DataIndex &a_dit, const int &a_fineVar, const int &a_coarVar) const noexcept |
| | Piecewise constant interpolation of an EB-data. This includes the area fraction and is therefore conservative.
|
| |
| virtual void | checkConservation (const EBCellFAB &a_fineData, const EBCellFAB &a_coarData, const DataIndex &a_dit, const int a_fineVar, const int a_coarVar) const noexcept |
| | Check if the interpolation conserved. This will print an error message if it didn't.
|
| |
| virtual void | checkConservation (const BaseIVFAB< Real > &a_fineData, const BaseIVFAB< Real > &a_coarData, const DataIndex &a_dit, const int a_fineVar, const int a_coarVar) const noexcept |
| | Check if the interpolation conserved. This will print an error message if it didn't.
|
| |
Class for interpolating data to fine grids. Can use constant interpolation or include limiters.
This class should be used through the interpolate methods. The methods will switch between various supported interpolation methods for the data types. For EBCellFAB-type data we support PWC, ConservativePWC, ConservativeMinMod, ConservativeMonotonizedCentral, ConservativeSuperbee For BASEIVFAB-type data we support PWC and ConservativePWC