chombo-discharge
CD_EBHelmholtzEBBCFactory.H
1 /* chombo-discharge
2  * Copyright © 2021 SINTEF Energy Research.
3  * Please refer to Copyright.txt and LICENSE in the chombo-discharge root directory.
4  */
5 
6 /*
7  @file CD_EBHelmholtzEBBCFactory.H
8  @brief Declaration of a factory class for making boundary condition objects for EBHelmholtzOp
9  @author Robert Marskar
10 */
11 
12 #ifndef CD_EBHelmholtzEBBCFactory_H
13 #define CD_EBHelmholtzEBBCFactory_H
14 
15 // Chombo includes
16 #include <EBLevelGrid.H>
17 
18 // Our includes
19 #include <CD_EBHelmholtzEBBC.H>
20 #include <CD_NamespaceHeader.H>
21 
26 {
27 public:
32 
36  virtual ~EBHelmholtzEBBCFactory();
37 
42 
47  operator=(const EBHelmholtzEBBCFactory& a_other) = delete;
48 
53  virtual RefCountedPtr<EBHelmholtzEBBC>
54  create() = 0;
55 };
56 
57 #include <CD_NamespaceFooter.H>
58 
59 #endif
Factory class for making EBHelmholtzEBBCs.
Definition: CD_EBHelmholtzEBBCFactory.H:26
EBHelmholtzEBBCFactory(const EBHelmholtzEBBCFactory &a_other)=delete
Disallowed – don't see why you would need it.
virtual ~EBHelmholtzEBBCFactory()
Destructor.
Definition: CD_EBHelmholtzEBBCFactory.cpp:19
EBHelmholtzEBBCFactory & operator=(const EBHelmholtzEBBCFactory &a_other)=delete
Disallowed - don't see why you would need it.
virtual RefCountedPtr< EBHelmholtzEBBC > create()=0
Factory method which returns new BC object.
EBHelmholtzEBBCFactory()
Constructor.
Definition: CD_EBHelmholtzEBBCFactory.cpp:16