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
29template <class T>
31{
32public:
37
42
48 RefCountedPtr<FieldSolver>
49 newSolver() const;
50};
51
52#include <CD_NamespaceFooter.H>
53
55
56#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:31
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