Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-uggrid
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
staging
dune-uggrid
Commits
27b5e15d
There was a problem fetching the pipeline summary.
Commit
27b5e15d
authored
7 years ago
by
Ansgar Burchardt
Browse files
Options
Downloads
Patches
Plain Diff
Make sure to free `message_buffer`
parent
2302d33a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!55
Support for transferring element data during load balancing
Pipeline
#
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
gm/ugm.cc
+6
-0
6 additions, 0 deletions
gm/ugm.cc
parallel/dddif/handler.cc
+6
-0
6 additions, 0 deletions
parallel/dddif/handler.cc
with
12 additions
and
0 deletions
gm/ugm.cc
+
6
−
0
View file @
27b5e15d
...
...
@@ -3470,6 +3470,9 @@ INT NS_DIM_PREFIX DisposeNode (GRID *theGrid, NODE *theNode)
else
DECNOOFNODE
(
theVertex
);
/* free message buffer */
theNode
->
message_buffer_free
();
/* dispose vector and its matrices from node-vector */
size
=
sizeof
(
NODE
);
if
(
NDATA_DEF_IN_GRID
(
theGrid
))
{
...
...
@@ -3851,6 +3854,9 @@ INT NS_DIM_PREFIX DisposeElement (GRID *theGrid, ELEMENT *theElement, INT dispos
if
(
DisposeVector
(
theGrid
,
EVECTOR
(
theElement
)))
RETURN
(
1
);
/* free message buffer */
theElement
->
message_buffer_free
();
/* dispose element */
/* give it a new tag ! (I know this is somewhat ugly) */
tag
=
TAG
(
theElement
);
...
...
This diff is collapsed.
Click to expand it.
parallel/dddif/handler.cc
+
6
−
0
View file @
27b5e15d
...
...
@@ -893,6 +893,8 @@ static void NodeDestructor(DDD_OBJ obj)
{
NODE
*
node
=
(
NODE
*
)
obj
;
node
->
message_buffer_free
();
PRINTDEBUG
(
dddif
,
2
,(
PFMT
" NodeDestructor(): n="
ID_FMTX
" NDOBJ=%d
\n
"
,
me
,
ID_PRTX
(
node
),
OBJT
(
node
)))
}
...
...
@@ -901,6 +903,8 @@ static void NodeObjInit(DDD_OBJ obj)
{
NODE
*
node
=
(
NODE
*
)
obj
;
node
->
message_buffer
(
nullptr
,
0
);
PRINTDEBUG
(
dddif
,
2
,(
PFMT
" NodeObjInit(): n="
ID_FMTX
" NDOBJ=%d
\n
"
,
me
,
ID_PRTX
(
node
),
OBJT
(
node
)))
}
...
...
@@ -1197,6 +1201,8 @@ static void ElementLDataConstructor (DDD_OBJ obj)
INT
prio
=
EPRIO
(
pe
);
void
*
q
;
pe
->
message_buffer
(
nullptr
,
0
);
PRINTDEBUG
(
dddif
,
2
,(
PFMT
" ElementLDataConsX(): pe="
EID_FMTX
" EOBJ=%d l=%d
\n
"
,
me
,
EID_PRTX
(
pe
),
OBJT
(
pe
),
level
))
...
...
This diff is collapsed.
Click to expand it.
Ansgar Burchardt
@ansgar
mentioned in commit
85468a1c
·
7 years ago
mentioned in commit
85468a1c
mentioned in commit 85468a1c46d709c54a3aa7fc67b486b67104d0e6
Toggle commit list
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment