chombo-discharge
Loading...
Searching...
No Matches
Source
Electrostatics
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>
28
class
FieldSolverFactory
29
{
30
public
:
34
FieldSolverFactory
();
35
39
~FieldSolverFactory
();
40
45
RefCountedPtr<FieldSolver>
46
newSolver
()
const
;
47
};
48
49
#include <CD_NamespaceFooter.H>
50
51
#include <
CD_FieldSolverFactoryImplem.H
>
52
53
#endif
CD_FieldSolverFactoryImplem.H
Implementation of CD_FieldSolverFactory.H.
CD_FieldSolver.H
Contains declaration of a base electrostatics solver class.
FieldSolverFactory
Factory class for poisson solvers. Used to instantiate any FieldSolver-derived classes with automatic...
Definition
CD_FieldSolverFactory.H:29
FieldSolverFactory::FieldSolverFactory
FieldSolverFactory()
Constructor (does nothing)
Definition
CD_FieldSolverFactoryImplem.H:20
FieldSolverFactory::newSolver
RefCountedPtr< FieldSolver > newSolver() const
Factory method.
Definition
CD_FieldSolverFactoryImplem.H:33
FieldSolverFactory::~FieldSolverFactory
~FieldSolverFactory()
Constructor (does nothing)
Definition
CD_FieldSolverFactoryImplem.H:26
TracerParticleSolver
Base class for a tracer particle solver. This solver can advance particles in a pre-defined velocity ...
Definition
CD_TracerParticleSolver.H:37
Generated by
1.9.8