chombo-discharge
CD_NonConservativeDivergenceStencil.H
Go to the documentation of this file.
1 /* chombo-discharge
2  * Copyright © 2021 SINTEF Energy Research.
3  * Please refer to Copyright.txt and LICENSE in the chombo-discharge root directory.
4  */
5 
12 #ifndef CD_NonConservativeDivergenceStencil_H
13 #define CD_NonConservativeDivergenceStencil_H
14 
15 // Our includes
16 #include <CD_IrregStencil.H>
17 #include <CD_NamespaceHeader.H>
18 
25 {
26 public:
31 
42  NonConservativeDivergenceStencil(const DisjointBoxLayout& a_dbl,
43  const EBISLayout& a_ebisl,
44  const ProblemDomain& a_domain,
45  const Real& a_dx,
46  const int a_order,
47  const int a_radius,
48  const IrregStencil::StencilType a_type);
49 
54 
55 protected:
68  virtual void
69  buildStencil(VoFStencil& a_sten,
70  const VolIndex& a_vof,
71  const DisjointBoxLayout& a_dbl,
72  const ProblemDomain& a_domain,
73  const EBISBox& a_ebisbox,
74  const Box& a_box,
75  const Real& a_dx,
76  const IntVectSet& a_cfivs) override;
77 };
78 
79 #include <CD_NamespaceFooter.H>
80 
81 #endif
Abstract class for holding cut-cell stencils on an AMR level.
Class for holding stencils on irregular cells over a single AMR level.
Definition: CD_IrregStencil.H:38
StencilType
Enum for identifying stencil – only meant for enhancing code visibility.
Definition: CD_IrregStencil.H:44
Stencil class for computing non-conservative divergences using neighborhood algorithms.
Definition: CD_NonConservativeDivergenceStencil.H:25
virtual void buildStencil(VoFStencil &a_sten, const VolIndex &a_vof, const DisjointBoxLayout &a_dbl, const ProblemDomain &a_domain, const EBISBox &a_ebisbox, const Box &a_box, const Real &a_dx, const IntVectSet &a_cfivs) override
Build the interpolation stencils.
Definition: CD_NonConservativeDivergenceStencil.cpp:42
NonConservativeDivergenceStencil()=delete
Disallowed weak constructor.
virtual ~NonConservativeDivergenceStencil()
Destructor.
Definition: CD_NonConservativeDivergenceStencil.cpp:36