12 #ifndef CD_LinearStencil_H
13 #define CD_LinearStencil_H
17 #include <ProblemDomain.H>
21 #include <CD_NamespaceHeader.H>
41 const RealVect& a_pos,
42 const VolIndex& a_vof,
43 const ProblemDomain& a_domain,
44 const EBISBox& a_ebisbox);
65 const RealVect& a_pos,
66 const VolIndex& a_vof,
67 const ProblemDomain& a_domain,
68 const EBISBox& a_ebisbox,
69 const int a_interpDir);
82 const RealVect& a_pos,
83 const VolIndex& a_vof,
84 const ProblemDomain& a_domain,
85 const EBISBox& a_ebisbox,
86 const int a_noInterpDir = 2);
98 computeInterpStencil3D(VoFStencil& a_stencil,
99 const RealVect& a_pos,
100 const VolIndex& a_vof,
101 const ProblemDomain& a_domain,
102 const EBISBox& a_ebisbox);
106 #include <CD_NamespaceFooter.H>
Class which computes a bi/tri-linear stencil in cut-cells. This class makes appropriate modifications...
Definition: CD_LinearStencil.H:29
static bool computeInterpStencil2D(VoFStencil &a_stencil, const RealVect &a_pos, const VolIndex &a_vof, const ProblemDomain &a_domain, const EBISBox &a_ebisbox, const int a_noInterpDir=2)
Compute a bilinear interpolation stencil.
Definition: CD_LinearStencil.cpp:135
static constexpr Real tolerance
Tolerance for when we switch between 1D/2D/3D stencils.
Definition: CD_LinearStencil.H:50
static bool computeInterpStencil1D(VoFStencil &a_stencil, const RealVect &a_pos, const VolIndex &a_vof, const ProblemDomain &a_domain, const EBISBox &a_ebisbox, const int a_interpDir)
Compute a linear interpolation stencil.
Definition: CD_LinearStencil.cpp:53
static bool getLinearInterpStencil(VoFStencil &a_stencil, const RealVect &a_pos, const VolIndex &a_vof, const ProblemDomain &a_domain, const EBISBox &a_ebisbox)
Get a bi(tri)linear interpolation stencil in 2D(3D)
Definition: CD_LinearStencil.cpp:22