12#ifndef CD_EBHelmholtzDirichletEBBC_H
13#define CD_EBHelmholtzDirichletEBBC_H
20#include <CD_EBHelmholtzEBBC.H>
21#include <CD_NamespaceHeader.H>
196#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:27
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:316
EBHelmholtzDirichletEBBC()
Default constructor.
Definition CD_EBHelmholtzDirichletEBBC.cpp:23
std::function< Real(const RealVect &a_pos)> m_functionValue
Value on the EB.
Definition CD_EBHelmholtzDirichletEBBC.H:140
int m_order
Stencil approximation order,.
Definition CD_EBHelmholtzDirichletEBBC.H:115
LayoutData< BaseIVFAB< Real > > m_boundaryWeights
Boundary weights.
Definition CD_EBHelmholtzDirichletEBBC.H:145
virtual void setValue(const int a_value)
Set the value on the EB.
Definition CD_EBHelmholtzDirichletEBBC.cpp:61
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:387
virtual void setDomainDropOrder(const int a_domainSize)
Drop BC order if domain size is equal or below this.
Definition CD_EBHelmholtzDirichletEBBC.cpp:83
bool m_dropOrder
Special flag for dropping stencil order if the cell is a coarsened cell.
Definition CD_EBHelmholtzDirichletEBBC.H:130
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:231
virtual void setOrder(const int a_order)
Set BC order.
Definition CD_EBHelmholtzDirichletEBBC.cpp:42
int m_weight
Distance weighting factor for stencils.
Definition CD_EBHelmholtzDirichletEBBC.H:120
bool m_useFunction
Use function for BC value.
Definition CD_EBHelmholtzDirichletEBBC.H:110
virtual void define() override
User define function.
Definition CD_EBHelmholtzDirichletEBBC.cpp:97
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:273
int m_domainDropOrder
Special flag for dropping stencil order when domains become coarser than this.
Definition CD_EBHelmholtzDirichletEBBC.H:125
bool m_useConstant
Use constant for BC.
Definition CD_EBHelmholtzDirichletEBBC.H:105
virtual void setWeight(const int a_weight)
Set stencil weights.
Definition CD_EBHelmholtzDirichletEBBC.cpp:51
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:91
Real m_constantValue
Value on EB.
Definition CD_EBHelmholtzDirichletEBBC.H:135
virtual ~EBHelmholtzDirichletEBBC()
Destructor.
Definition CD_EBHelmholtzDirichletEBBC.cpp:36
Base class for passing EB boundary conditions into EBHelmholtzOp.
Definition CD_EBHelmholtzEBBC.H:29
Base class for a tracer particle solver. This solver can advance particles in a pre-defined velocity ...
Definition CD_TracerParticleSolver.H:37
TracerParticleSolver()
Default constructor.
Definition CD_TracerParticleSolverImplem.H:25
Neighborhood
Neighborhood type.
Definition CD_VofUtils.H:55