chombo-discharge
Loading...
Searching...
No Matches
Source
ImplicitFunctions
CD_ProfilePlaneIF.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_PROFILEPLANEIF_H
14
#define CD_PROFILEPLANEIF_H
15
16
// Chombo includes
17
#include <BaseIF.H>
18
19
// Our includes
20
#include <CD_NamespaceHeader.H>
21
26
class
ProfilePlaneIF
:
public
BaseIF
27
{
28
public
:
32
ProfilePlaneIF
() =
delete
;
33
47
ProfilePlaneIF
(
const
RealVect
&
a_point
,
48
const
Real
a_width
,
49
const
BaseIF*
a_impFunc
,
50
const
int
a_num_left
,
51
const
int
a_num_right
,
52
const
Real
a_ccDist
,
53
const
Real
a_xShift
,
54
const
Real
a_yShift
,
55
const
Real
a_curv
,
56
const
bool
a_fluidInside
);
57
62
ProfilePlaneIF
(
const
ProfilePlaneIF
&
a_inputIF
);
63
67
virtual
~ProfilePlaneIF
();
68
74
virtual
Real
75
value
(
const
RealVect
&
a_pos
)
const
;
76
81
virtual
BaseIF*
82
newImplicitFunction
()
const
;
83
84
protected
:
86
RefCountedPtr<BaseIF>
m_baseif
;
87
89
bool
m_fluidInside
;
90
};
91
92
#include <CD_NamespaceFooter.H>
93
94
#endif
ProfilePlaneIF
Implicit function which represents an infinite half-plane with "holes".
Definition
CD_ProfilePlaneIF.H:27
ProfilePlaneIF::m_baseif
RefCountedPtr< BaseIF > m_baseif
Baseif.
Definition
CD_ProfilePlaneIF.H:86
ProfilePlaneIF::value
virtual Real value(const RealVect &a_pos) const
Level-set function.
Definition
CD_ProfilePlaneIF.cpp:89
ProfilePlaneIF::m_fluidInside
bool m_fluidInside
Fluid inside.
Definition
CD_ProfilePlaneIF.H:89
ProfilePlaneIF::~ProfilePlaneIF
virtual ~ProfilePlaneIF()
Destructor.
ProfilePlaneIF::newImplicitFunction
virtual BaseIF * newImplicitFunction() const
Factory method.
Definition
CD_ProfilePlaneIF.cpp:101
ProfilePlaneIF::ProfilePlaneIF
ProfilePlaneIF()=delete
Disallowed weak construction.
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