15#ifndef CD_PETSCHELMHOLTZJUMPBC_H
16#define CD_PETSCHELMHOLTZJUMPBC_H
24#include <CD_NamespaceHeader.H>
69 const DataIndex& a_din,
71 const Real a_bCoefPhase0,
72 const Real a_bCoefPhase1)
const noexcept = 0;
84 const DataIndex& a_din,
86 const EBAMRIVData& a_sigma)
const noexcept = 0;
97 updateJumpData(
const Vec& a_phi,
const MFAMRIVData& a_bCoefIrreg)
noexcept = 0;
100#include <CD_NamespaceFooter.H>
Class for holding data across EBAMR hierarchies.
Declaration of the shared EB face stencils for the EB and jump boundary conditions of PetscHelmholtzO...
PetscHelmholtzEBStencils() noexcept
Default constructor. Must subsequently set the order and the weight, and call define.
Definition CD_PetscHelmholtzEBStencils.cpp:28
virtual Real getJumpData(const int a_level, const DataIndex &a_din, const IntVect &a_iv, const EBAMRIVData &a_sigma) const noexcept=0
Get the jump data g at an interface cell.
virtual void getInterfaceFluxStencil(Real &a_dataWeight, PetscStencil &a_stencil, const int a_phase, const int a_level, const DataIndex &a_din, const IntVect &a_iv, const Real a_bCoefPhase0, const Real a_bCoefPhase1) const noexcept=0
Get the flux into one side of an interface cell, b_k * D_k, as a linear form.
PetscHelmholtzJumpBC() noexcept
Default constructor. Must subsequently set the order and the weight, and call define.
Definition CD_PetscHelmholtzJumpBC.cpp:22
virtual void updateJumpData(const Vec &a_phi, const MFAMRIVData &a_bCoefIrreg) noexcept=0
Update the jump data from the solution, after the solve.
virtual ~PetscHelmholtzJumpBC() noexcept
Destructor.
Definition CD_PetscHelmholtzJumpBC.cpp:27
A linear stencil over global PETSc rows, i.e. a list of (row, weight) pairs.
Definition CD_PetscStencil.H:43