BISICLES AMR ice sheet model  0.9
Functions
AmrIceMesh.cpp File Reference

Functions

LevelData< FArrayBox > * destructiveRegrid (LevelData< FArrayBox > *a_oldData, const DisjointBoxLayout &a_newDBL, const LevelData< FArrayBox > *a_crseData, int a_ratio)
 create a new LevelData<FArrayBox>*, interpolate from a_crseData and copy from a_oldData as needed, delete a_oldData More...
 

Function Documentation

◆ destructiveRegrid()

LevelData<FArrayBox>* destructiveRegrid ( LevelData< FArrayBox > *  a_oldData,
const DisjointBoxLayout &  a_newDBL,
const LevelData< FArrayBox > *  a_crseData,
int  a_ratio 
)

create a new LevelData<FArrayBox>*, interpolate from a_crseData and copy from a_oldData as needed, delete a_oldData

Referenced by AmrIce::regrid().