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

Functions

void fourthOrderAverage (LevelData< FArrayBox > &a_phi, int a_sgn)
 
More...
 
void fourthOrderAverage (LevelData< FArrayBox > &a_phi, const ProblemDomain &a_domain, int a_sgn)
 
More...
 
void fourthOrderAverageCell (FArrayBox &a_phi, int a_sgn)
 
More...
 
void fourthOrderAverageCell (FArrayBox &a_phi, const ProblemDomain &a_domain, const Box &a_bx, int a_sgn)
 
More...
 

Function Documentation

◆ fourthOrderAverage() [1/2]

void fourthOrderAverage ( LevelData< FArrayBox > &  a_phi,
int  a_sgn 
)


utility functions for 4th-order averaging

References fourthOrderAverageCell().

◆ fourthOrderAverage() [2/2]

void fourthOrderAverage ( LevelData< FArrayBox > &  a_phi,
const ProblemDomain &  a_domain,
int  a_sgn = 1 
)


given cell-centered phi, increment with Laplacian(phi) correction in place to compute 4th-order cell averages of phi (or decrement, a_sgn = -1, to compute cell-centered from cell-averaged) using one-sided corrections at domain boundaries

References fourthOrderAverageCell().

◆ fourthOrderAverageCell() [1/2]

void fourthOrderAverageCell ( FArrayBox &  a_phi,
int  a_sgn = 1 
)


given cell-centered phi, increment with Laplacian(phi) correction in place to compute 4th-order cell averages of phi (or decrement, a_sgn = -1, to compute cell-centered from cell-averaged)

Referenced by fourthOrderAverage(), and HumpIBC::initializeIceGeometry().

◆ fourthOrderAverageCell() [2/2]

void fourthOrderAverageCell ( FArrayBox &  a_phi,
const ProblemDomain &  a_domain,
const Box &  a_bx,
int  a_sgn = 1 
)


given cell-centered phi, increment with Laplacian(phi) correction in place to compute 4th-order cell averages of phi (or decrement, a_sgn = -1, to compute cell-centered from cell-averaged) using one-sided corrections at domain boundaries