chombo-discharge
Loading...
Searching...
No Matches
Source
Electrostatics
CD_FieldSolverFactory.H
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2021-2026 SINTEF Energy Research
3
*
4
* SPDX-License-Identifier: GPL-3.0-or-later
5
*/
6
13
#ifndef CD_FIELDSOLVERFACTORY_H
14
#define CD_FIELDSOLVERFACTORY_H
15
16
// Chombo includes
17
#include <RefCountedPtr.H>
18
19
// Our includes
20
#include <
CD_FieldSolver.H
>
21
#include <CD_NamespaceHeader.H>
22
28
template
<
class
T>
29
class
FieldSolverFactory
30
{
31
public
:
35
FieldSolverFactory
();
36
40
~FieldSolverFactory
();
41
47
RefCountedPtr<FieldSolver>
48
newSolver
()
const
;
49
};
50
51
#include <CD_NamespaceFooter.H>
52
53
#include <
CD_FieldSolverFactoryImplem.H
>
54
55
#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:30
FieldSolverFactory::FieldSolverFactory
FieldSolverFactory()
Constructor (does nothing)
Definition
CD_FieldSolverFactoryImplem.H:21
FieldSolverFactory::newSolver
RefCountedPtr< FieldSolver > newSolver() const
Factory method.
Definition
CD_FieldSolverFactoryImplem.H:34
FieldSolverFactory::~FieldSolverFactory
~FieldSolverFactory()
Constructor (does nothing)
Definition
CD_FieldSolverFactoryImplem.H:27
TracerParticleSolver
Base class for a tracer particle solver. This solver can advance particles in a pre-defined velocity ...
Definition
CD_TracerParticleSolver.H:38
Generated by
1.9.8