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

Factory class for passing Dirichlet domain boundary conditions into EBHelmholtzOp. More...

#include <CD_EBHelmholtzDirichletDomainBCFactory.H>

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

Public Member Functions

 EBHelmholtzDirichletDomainBCFactory ()
 Constructor.
 
 EBHelmholtzDirichletDomainBCFactory (const Real a_value)
 Constructor.
 
 EBHelmholtzDirichletDomainBCFactory (const std::function< Real(const RealVect &a_pos)> &a_value)
 Full constructor.
 
virtual ~EBHelmholtzDirichletDomainBCFactory ()
 Destructor.
 
void setValue (const Real a_value)
 Set the constant value on the domain side.
 
void setValue (const std::function< Real(const RealVect &a_pos)> &a_value)
 Set the spatially dependent value on the domain side.
 
virtual RefCountedPtr< EBHelmholtzDomainBCcreate () const override
 Factory method.
 
- Public Member Functions inherited from EBHelmholtzDomainBCFactory
 EBHelmholtzDomainBCFactory ()
 Constructor.
 
virtual ~EBHelmholtzDomainBCFactory ()
 Destructor.
 
 EBHelmholtzDomainBCFactory (const EBHelmholtzDomainBCFactory &a_other)=delete
 Disallowed – don't see why you would need it.
 
EBHelmholtzDomainBCFactoryoperator= (const EBHelmholtzDomainBCFactory &a_other)=delete
 Disallowed - don't see why you would need it.
 

Protected Attributes

bool m_useConstant
 Use constant for BC.
 
bool m_useFunction
 Use function for BC value.
 
Real m_constantValue
 Value on EB.
 
std::function< Real(const RealVect &a_pos)> m_functionValue
 Value on the EB.
 

Detailed Description

Factory class for passing Dirichlet domain boundary conditions into EBHelmholtzOp.

Constructor & Destructor Documentation

◆ EBHelmholtzDirichletDomainBCFactory() [1/2]

EBHelmholtzDirichletDomainBCFactory::EBHelmholtzDirichletDomainBCFactory ( const Real  a_value)

Constructor.

Parameters
[in]a_valueConstant value on domain side

◆ EBHelmholtzDirichletDomainBCFactory() [2/2]

EBHelmholtzDirichletDomainBCFactory::EBHelmholtzDirichletDomainBCFactory ( const std::function< Real(const RealVect &a_pos)> &  a_value)

Full constructor.

Parameters
[in]a_valueSpatially dependent value on domain side

Member Function Documentation

◆ create()

RefCountedPtr< EBHelmholtzDomainBC > EBHelmholtzDirichletDomainBCFactory::create ( ) const
overridevirtual

Factory method.

Implements EBHelmholtzDomainBCFactory.

◆ setValue() [1/2]

void EBHelmholtzDirichletDomainBCFactory::setValue ( const Real  a_value)

Set the constant value on the domain side.

Parameters
[in]a_valueConstant value on all domain sides.

◆ setValue() [2/2]

void EBHelmholtzDirichletDomainBCFactory::setValue ( const std::function< Real(const RealVect &a_pos)> &  a_value)

Set the spatially dependent value on the domain side.

Parameters
[in]a_valueSpatially dependent value on all domain sides.

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