Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Houman Mirzaalian Dastjerdi
waLBerla
Commits
808febfe
Commit
808febfe
authored
Jun 05, 2018
by
Sebastian Eibl
Browse files
[BUGFIX] added missing virtual dtor to base class
parent
97fd82d4
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/field/allocation/FieldAllocator.h
View file @
808febfe
...
@@ -48,6 +48,8 @@ namespace field {
...
@@ -48,6 +48,8 @@ namespace field {
{
{
public:
public:
virtual
~
FieldAllocator
()
=
default
;
/**
/**
* \brief Allocate memory for a field of given sizes and initializes reference counter with one
* \brief Allocate memory for a field of given sizes and initializes reference counter with one
*
*
...
...
src/geometry/bodies/DynamicBody.h
View file @
808febfe
...
@@ -30,6 +30,7 @@ namespace geometry {
...
@@ -30,6 +30,7 @@ namespace geometry {
class
AbstractBody
{
class
AbstractBody
{
public:
public:
virtual
~
AbstractBody
()
=
default
;
virtual
bool
contains
(
const
Vector3
<
real_t
>
&
point
)
const
=
0
;
virtual
bool
contains
(
const
Vector3
<
real_t
>
&
point
)
const
=
0
;
virtual
FastOverlapResult
fastOverlapCheck
(
const
Vector3
<
real_t
>
&
cellMidpoint
,
real_t
dx
)
const
=
0
;
virtual
FastOverlapResult
fastOverlapCheck
(
const
Vector3
<
real_t
>
&
cellMidpoint
,
real_t
dx
)
const
=
0
;
virtual
FastOverlapResult
fastOverlapCheck
(
const
AABB
&
box
)
const
=
0
;
virtual
FastOverlapResult
fastOverlapCheck
(
const
AABB
&
box
)
const
=
0
;
...
...
src/mesh/vtk/VTKMeshWriter.h
View file @
808febfe
...
@@ -52,6 +52,7 @@ public:
...
@@ -52,6 +52,7 @@ public:
{
{
public:
public:
DataSource
(
const
std
::
string
&
_name
)
:
name_
(
_name
)
{
}
DataSource
(
const
std
::
string
&
_name
)
:
name_
(
_name
)
{
}
virtual
~
DataSource
()
=
default
;
typedef
T
value_type
;
typedef
T
value_type
;
virtual
uint_t
numComponents
()
=
0
;
virtual
uint_t
numComponents
()
=
0
;
const
std
::
string
&
name
()
{
return
name_
;
}
const
std
::
string
&
name
()
{
return
name_
;
}
...
@@ -67,6 +68,7 @@ public:
...
@@ -67,6 +68,7 @@ public:
typedef
typename
VTKMeshWriter
::
Vertices
Vertices
;
typedef
typename
VTKMeshWriter
::
Vertices
Vertices
;
VertexDataSource
(
const
std
::
string
&
_name
)
:
DataSource
<
T
>
(
_name
)
{
}
VertexDataSource
(
const
std
::
string
&
_name
)
:
DataSource
<
T
>
(
_name
)
{
}
virtual
~
VertexDataSource
()
=
default
;
virtual
void
getData
(
const
MeshType
&
,
const
Vertices
&
vertices
,
std
::
vector
<
T
>
&
)
=
0
;
virtual
void
getData
(
const
MeshType
&
,
const
Vertices
&
vertices
,
std
::
vector
<
T
>
&
)
=
0
;
};
};
...
@@ -78,6 +80,7 @@ public:
...
@@ -78,6 +80,7 @@ public:
typedef
typename
VTKMeshWriter
::
Faces
Faces
;
typedef
typename
VTKMeshWriter
::
Faces
Faces
;
FaceDataSource
(
const
std
::
string
&
_name
)
:
DataSource
<
T
>
(
_name
)
{
}
FaceDataSource
(
const
std
::
string
&
_name
)
:
DataSource
<
T
>
(
_name
)
{
}
virtual
~
FaceDataSource
()
=
default
;
virtual
void
getData
(
const
MeshType
&
,
const
Faces
&
faces
,
std
::
vector
<
T
>
&
)
=
0
;
virtual
void
getData
(
const
MeshType
&
,
const
Faces
&
faces
,
std
::
vector
<
T
>
&
)
=
0
;
};
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment