Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-foamgrid
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
extensions
dune-foamgrid
Merge requests
!61
[1d][facet] Initialize this pointer in vertex entity correctly using emplace_back.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
[1d][facet] Initialize this pointer in vertex entity correctly using emplace_back.
bugfix/facet-vertex-invalid-this-pointer
into
master
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Samuel Burbulla
requested to merge
bugfix/facet-vertex-invalid-this-pointer
into
master
5 years ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
This solves the issue with the wrong leafIndex_ in the vertex_ array.
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
04f98424
1 commit,
5 years ago
1 file
+
5
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
dune/foamgrid/foamgrid/foamgridfactory.hh
+
5
−
3
Options
@@ -69,9 +69,11 @@ template <int dimgrid, int dimworld>
/** \brief Insert a vertex into the coarse grid */
void
insertVertex
(
const
FieldVector
<
ctype
,
dimworld
>&
pos
)
override
{
std
::
get
<
0
>
(
grid_
->
entityImps_
[
0
]).
push_back
(
FoamGridEntityImp
<
0
,
dimgrid
,
dimworld
>
(
0
,
// level
pos
,
// position
grid_
->
getNextFreeId
()));
std
::
get
<
0
>
(
grid_
->
entityImps_
[
0
]).
emplace_back
(
0
,
// level
pos
,
// position
grid_
->
getNextFreeId
()
);
vertexArray_
.
push_back
(
&*
std
::
get
<
0
>
(
grid_
->
entityImps_
[
0
]).
rbegin
());
}
Loading