13#ifndef CD_EBHELMHOLTZDIRICHLETEBBC_H
14#define CD_EBHELMHOLTZDIRICHLETEBBC_H
21#include <CD_EBHelmholtzEBBC.H>
22#include <CD_NamespaceHeader.H>
197#include <CD_NamespaceFooter.H>
Various functions for getting Vofs near cut-cells.
Base class for passing Dirichlet EB boundary conditions into EBHelmholtzOp.
Definition CD_EBHelmholtzDirichletEBBC.H:28
virtual bool getJohansenStencil(std::pair< Real, VoFStencil > &a_stencil, const VolIndex &a_vof, const DataIndex &a_dit, const int a_order) const
Get johansen stencil with specified order. Not used but exists for backward compatibility testing and...
Definition CD_EBHelmholtzDirichletEBBC.cpp:313
EBHelmholtzDirichletEBBC()
Default constructor.
Definition CD_EBHelmholtzDirichletEBBC.cpp:24
std::function< Real(const RealVect &a_pos)> m_functionValue
Value on the EB.
Definition CD_EBHelmholtzDirichletEBBC.H:142
int m_order
Stencil approximation order,.
Definition CD_EBHelmholtzDirichletEBBC.H:117
LayoutData< BaseIVFAB< Real > > m_boundaryWeights
Boundary weights.
Definition CD_EBHelmholtzDirichletEBBC.H:147
virtual void setValue(const int a_value)
Set the value on the EB.
Definition CD_EBHelmholtzDirichletEBBC.cpp:54
virtual bool getChomboLsqStencil(std::pair< Real, VoFStencil > &a_stencil, const VolIndex &a_vof, const DataIndex &a_dit) const
Get Chombo's least squares gradient stencil. Not used but kept for backward compatibility testing and...
Definition CD_EBHelmholtzDirichletEBBC.cpp:384
virtual void setDomainDropOrder(const int a_domainSize)
Drop BC order if domain size is equal or below this.
Definition CD_EBHelmholtzDirichletEBBC.cpp:76
bool m_dropOrder
Special flag for dropping stencil order if the cell is a coarsened cell.
Definition CD_EBHelmholtzDirichletEBBC.H:132
virtual void applyEBFlux(VoFIterator &a_vofit, EBCellFAB &a_Lphi, const EBCellFAB &a_phi, const BaseIVFAB< Real > &a_Bcoef, const DataIndex &a_dit, const Real &a_beta, const bool &a_homogeneousPhysBC) const override
Apply the EB flux. This is the version that is called by EBHelmholtzOp.
Definition CD_EBHelmholtzDirichletEBBC.cpp:225
virtual void setOrder(const int a_order)
Set BC order.
Definition CD_EBHelmholtzDirichletEBBC.cpp:35
int m_weight
Distance weighting factor for stencils.
Definition CD_EBHelmholtzDirichletEBBC.H:122
bool m_useFunction
Use function for BC value.
Definition CD_EBHelmholtzDirichletEBBC.H:112
virtual void define() override
User define function.
Definition CD_EBHelmholtzDirichletEBBC.cpp:90
virtual bool getLeastSquaresStencil(std::pair< Real, VoFStencil > &a_stencil, const VolIndex &a_vof, const VofUtils::Neighborhood a_neighborhood, const DataIndex &a_dit, const int a_order) const
Get stencil with specified order.
Definition CD_EBHelmholtzDirichletEBBC.cpp:270
int m_domainDropOrder
Special flag for dropping stencil order when domains become coarser than this.
Definition CD_EBHelmholtzDirichletEBBC.H:127
bool m_useConstant
Use constant for BC.
Definition CD_EBHelmholtzDirichletEBBC.H:107
virtual void setWeight(const int a_weight)
Set stencil weights.
Definition CD_EBHelmholtzDirichletEBBC.cpp:44
virtual void setCoarseGridDropOrder(const bool a_dropOrder)
Signal that we should drop the stencil order if the cell is a coarsened cell.
Definition CD_EBHelmholtzDirichletEBBC.cpp:84
Real m_constantValue
Value on EB.
Definition CD_EBHelmholtzDirichletEBBC.H:137
virtual ~EBHelmholtzDirichletEBBC()
Destructor.
Definition CD_EBHelmholtzDirichletEBBC.cpp:29
Base class for passing EB boundary conditions into EBHelmholtzOp.
Definition CD_EBHelmholtzEBBC.H:30
Base class for a tracer particle solver. This solver can advance particles in a pre-defined velocity ...
Definition CD_TracerParticleSolver.H:38
TracerParticleSolver()
Default constructor.
Definition CD_TracerParticleSolverImplem.H:26
Neighborhood
Neighborhood type.
Definition CD_VofUtils.H:56