chombo-discharge
Loading...
Searching...
No Matches
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
28template <class T>
30{
31public:
36
41
48 newSolver() const;
49};
50
51#include <CD_NamespaceFooter.H>
52
54
55#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:30
FieldSolverFactory()
Constructor (does nothing)
Definition CD_FieldSolverFactoryImplem.H:21
RefCountedPtr< FieldSolver > newSolver() const
Factory method.
Definition CD_FieldSolverFactoryImplem.H:34
~FieldSolverFactory()
Constructor (does nothing)
Definition CD_FieldSolverFactoryImplem.H:27
Base class for a tracer particle solver. This solver can advance particles in a pre-defined velocity ...
Definition CD_TracerParticleSolver.H:38