chombo-discharge
CD_FieldSolverFactory.H
Go to the documentation of this file.
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 
12 #ifndef CD_FieldSolverFactory_H
13 #define CD_FieldSolverFactory_H
14 
15 // Chombo includes
16 #include <RefCountedPtr.H>
17 
18 // Our includes
19 #include <CD_FieldSolver.H>
20 #include <CD_NamespaceHeader.H>
21 
27 template <class T>
29 {
30 public:
35 
40 
45  RefCountedPtr<FieldSolver>
46  newSolver() const;
47 };
48 
49 #include <CD_NamespaceFooter.H>
50 
52 
53 #endif
Implementation of CD_FieldSolverFactory.H.
Contains declaration of a base electrostatics solver class.
Factory class for poisson solvers. Used to instantiate any FieldSolver-derived classes with automatic...
Definition: CD_FieldSolverFactory.H:29
FieldSolverFactory()
Constructor (does nothing)
Definition: CD_FieldSolverFactoryImplem.H:20
RefCountedPtr< FieldSolver > newSolver() const
Factory method.
Definition: CD_FieldSolverFactoryImplem.H:33
~FieldSolverFactory()
Constructor (does nothing)
Definition: CD_FieldSolverFactoryImplem.H:26