class BoxGhostBC

class to encapsulate the operations of ghost-cell boundary conditions.

Inheritance:

BoxGhostBC


public members:

virtual ~BoxGhostBC()
BoxGhostBC()
BoxGhostBC(int a_dir, Side::LoHiSide a_sd)
sets interval to be (0,0)
BoxGhostBC(int a_dir, Side::LoHiSide a_sd, const Interval& a_comps)

protected members:

virtual BoxGhostBC * new_boxghostbc() const
virtual constructor workaround.
void define(int a_dir, Side::LoHiSide a_sd)
sets interval to be (0,0)
void define(int a_dir, Side::LoHiSide a_sd, const Interval& a_comps)
virtual void applyInhomogeneousBCs( FArrayBox & a_state, const Box& a_domain, Real a_dx) const
virtual void applyHomogeneousBCs( FArrayBox & a_state, const Box& domain, Real a_dx) const
virtual void applyInhomogeneousBCs( FArrayBox & a_state, const ProblemDomain & a_domain, Real a_dx) const
virtual void applyHomogeneousBCs( FArrayBox & a_state, const ProblemDomain & a_domain, Real a_dx) const
virtual void fillBCValues( FArrayBox & a_neumfac, FArrayBox & a_dircfac, FArrayBox & a_inhmval, Real a_dx, const Box& domain) const
virtual void fillBCValues( FArrayBox & a_neumfac, FArrayBox & a_dircfac, FArrayBox & a_inhmval, Real a_dx, const ProblemDomain & domain) const

Documentation

BoxGhostBC is a class to encapsulate the operations of ghost-cell boundary conditions at a face. If the solution is phi and the face normal direction is x, the boundary conditions usually used can be expressed as A*phi + B*dphi/dx = C. The derived class provides a function to to fill A B and C. These functions are only meant to be called by DomainGhostBC.

this class has no child classes.

alphabetic index hierarchy of classes


Chombo

Copyright Notice

This software is copyright (C) by the Lawrence Berkeley National Laboratory. Permission is granted to reproduce this software for non-commercial purposes provided that this notice is left intact.

It is acknowledged that the U.S. Government has rights to this software under Contract DE-AC03-765F00098 between the U.S. Department of Energy and the University of California.

This software is provided as a professional and academic contribution for joint exchange. Thus it is experimental, is provided ``as is'', with no warranties of any kind whatsoever, no support, no promise of updates, or printed documentation. By using this software, you acknowledge that the Lawrence Berkeley National Laboratory and Regents of the University of California shall have no liability with respect to the infringement of other copyrights by any part of this software.