chombo-discharge
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
WireWire Class Reference

This is a class that defines a wire-wire geometry. More...

#include <CD_WireWire.H>

Inheritance diagram for WireWire:
Inheritance graph
[legend]
Collaboration diagram for WireWire:
Collaboration graph
[legend]

Public Member Functions

 WireWire ()
 Constructor.
 
virtual ~WireWire ()
 Destructor.
 
- Public Member Functions inherited from ComputationalGeometry
 ComputationalGeometry ()
 Constructor. Sets a blank geometry.
 
virtual ~ComputationalGeometry ()
 Destructor.
 
const Vector< Dielectric > & getDielectrics () const
 Get dielectrics.
 
const Vector< Electrode > & getElectrodes () const
 Get electrodes.
 
Real getGasPermittivity () const
 Get the background gas permittivity.
 
void useScanShop (const ProblemDomain a_startDomain)
 Calls for ComputationalGeometry to use ScanShop rather than Chombo's default geometry generation tool.
 
void useChomboShop ()
 Calls for ComputationalGeometry to use Chombo's geometry generation tool.
 
void setDielectrics (const Vector< Dielectric > &a_dielectrics)
 Set dielectrics.
 
void setElectrodes (const Vector< Electrode > &a_electrodes)
 Set electrodes.
 
void setGasPermittivity (const Real a_eps0)
 Set the background permittivity.
 
const RefCountedPtr< MultiFluidIndexSpace > & getMfIndexSpace () const
 Get the multifluid index space.
 
const RefCountedPtr< BaseIF > & getGasImplicitFunction () const
 Get the implicit function used to generate the gas-phase EBIS.
 
const RefCountedPtr< BaseIF > & getSolidImplicitFunction () const
 Get the implicit function used to generate the solid-phase EBIS.
 
const RefCountedPtr< BaseIF > & getImplicitFunction (const phase::which_phase a_phase) const
 Get implicit function.
 
virtual void buildGeometries (const ProblemDomain a_finestDomain, const RealVect a_probLo, const Real a_finestDx, const int a_nCellMax, const int a_maxGhostEB, const int a_maxCoarsen=-1)
 Build geometries and the MFIndexSpace.
 

Protected Member Functions

virtual std::pair< std::shared_ptr< EBGeometry::ImplicitFunction< Real > >, RealaddElectrode (ParmParse &a_pp)
 Add another cylinder electrode.
 
virtual std::shared_ptr< EBGeometry::ImplicitFunction< Real > > addDielectric (ParmParse &a_pp)
 Add another cylinder dielectric.
 
- Protected Member Functions inherited from ComputationalGeometry
void buildGasGeometry (GeometryService *&a_geoserver, const ProblemDomain a_finestDomain, const RealVect a_probLo, const Real a_finestDx)
 Set up the geometry generation tool for the gas phase.
 
void buildSolidGeometry (GeometryService *&a_geoserver, const ProblemDomain a_finestDomain, const RealVect a_probLo, const Real a_finestDx)
 Set up the geometry generation tool for the solid phase, i.e. the part inside the dielectrics.
 

Additional Inherited Members

- Protected Attributes inherited from ComputationalGeometry
RefCountedPtr< MultiFluidIndexSpacem_multifluidIndexSpace
 Multifluid index spaces.
 
Real m_eps0
 Background permittivity.
 
bool m_useScanShop
 True if we use the chombo-discharge geometry generation utility.
 
ProblemDomain m_scanDomain
 Grid level where we begin using ScanShop.
 
int m_maxGhostEB
 Maximum number of ghost cells that we will ever need.
 
Vector< Dielectricm_dielectrics
 dielectrics
 
Vector< Electrodem_electrodes
 electrodes
 
RefCountedPtr< BaseIF > m_implicitFunctionGas
 The gas-phase implicit function (i.e. outside electrodes and dielectrics).
 
RefCountedPtr< BaseIF > m_implicitFunctionSolid
 The solid-phase implicit function (i.e. the inside of the dielectrics).
 
- Static Protected Attributes inherited from ComputationalGeometry
static constexpr Real s_thresh = 1.E-15
 Threshold for Vof computation.
 

Detailed Description

This is a class that defines a wire-wire geometry.

Member Function Documentation

◆ addDielectric()

std::shared_ptr< EBGeometry::ImplicitFunction< Real > > WireWire::addDielectric ( ParmParse a_pp)
protectedvirtual

Add another cylinder dielectric.

Parameters
[in]a_ppParameter parser object for the wire.

◆ addElectrode()

std::pair< std::shared_ptr< EBGeometry::ImplicitFunction< Real > >, Real > WireWire::addElectrode ( ParmParse a_pp)
protectedvirtual

Add another cylinder electrode.

Parameters
[in]a_ppParameter parser object for the wire.

The documentation for this class was generated from the following files: