chombo-discharge
Loading...
Searching...
No Matches
CD_NewIntersectionIF.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_NEWINTERSECTIONIF_H
14#define CD_NEWINTERSECTIONIF_H
15
16// Chombo includes
17#include <BaseIF.H>
18
19// Our includes
20#include <CD_NamespaceHeader.H>
21
25class NewIntersectionIF : public BaseIF
26{
27public:
32
38
42 virtual ~NewIntersectionIF();
43
49 virtual Real
50 value(const RealVect& a_point) const override;
51
56 virtual BaseIF*
57 newImplicitFunction() const override;
58
59protected:
63 int m_numFuncs; // number of implicit functions
64
69};
70
71#include <CD_NamespaceFooter.H>
72
73#endif
New intersection IF which does not mess up the return value function when there are no implicit funct...
Definition CD_NewIntersectionIF.H:26
Vector< BaseIF * > m_impFuncs
Implicit functions.
Definition CD_NewIntersectionIF.H:68
int m_numFuncs
Number of implicit functions.
Definition CD_NewIntersectionIF.H:63
virtual Real value(const RealVect &a_point) const override
Get distance to objects.
Definition CD_NewIntersectionIF.cpp:55
virtual BaseIF * newImplicitFunction() const override
Factory method.
Definition CD_NewIntersectionIF.cpp:79
NewIntersectionIF()
Weak constructor. Does nothing.
Definition CD_NewIntersectionIF.cpp:20
virtual ~NewIntersectionIF()
Destructor.
Definition CD_NewIntersectionIF.cpp:43
Base class for a tracer particle solver. This solver can advance particles in a pre-defined velocity ...
Definition CD_TracerParticleSolver.H:38