Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
e539f6d7
Commit
e539f6d7
authored
14 years ago
by
Boris Sedji
Browse files
Options
Downloads
Patches
Plain Diff
No commit message
No commit message
parent
737ded0f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Solver/filters.h
+2
-2
2 additions, 2 deletions
Solver/filters.h
Solver/groupOfElements.h
+1
-2
1 addition, 2 deletions
Solver/groupOfElements.h
with
3 additions
and
4 deletions
Solver/filters.h
+
2
−
2
View file @
e539f6d7
...
@@ -41,7 +41,7 @@ class FilterNodeEnriched
...
@@ -41,7 +41,7 @@ class FilterNodeEnriched
Dof
::
getTwoIntsFromType
(
key
.
getType
(),
i1
,
i2
);
Dof
::
getTwoIntsFromType
(
key
.
getType
(),
i1
,
i2
);
it2
=
_EnrichComp
->
find
(
i1
);
it2
=
_EnrichComp
->
find
(
i1
);
it1
=
_TagEnrichedVertex
->
find
(
key
.
getEntity
());
it1
=
_TagEnrichedVertex
->
find
(
key
.
getEntity
());
if
(
it1
!=
_TagEnrichedVertex
->
end
()
&
it2
!=
_EnrichComp
->
end
())
if
(
(
it1
!=
_TagEnrichedVertex
->
end
()
)
&
&
(
it2
!=
_EnrichComp
->
end
())
)
{
{
return
true
;
return
true
;
}
}
...
@@ -111,7 +111,7 @@ class FilterElementsCutByLevelSet
...
@@ -111,7 +111,7 @@ class FilterElementsCutByLevelSet
Dof
::
getTwoIntsFromType
(
key
.
getType
(),
i1
,
i2
);
Dof
::
getTwoIntsFromType
(
key
.
getType
(),
i1
,
i2
);
it2
=
_EnrichComp
->
find
(
i1
);
it2
=
_EnrichComp
->
find
(
i1
);
it1
=
_TagEnrichedVertex
.
find
(
key
.
getEntity
());
it1
=
_TagEnrichedVertex
.
find
(
key
.
getEntity
());
if
(
it1
!=
_TagEnrichedVertex
.
end
()
&
it2
!=
_EnrichComp
->
end
())
if
(
(
it1
!=
_TagEnrichedVertex
.
end
()
)
&
&
(
it2
!=
_EnrichComp
->
end
())
)
{
{
return
true
;
return
true
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Solver/groupOfElements.h
+
1
−
2
View file @
e539f6d7
...
@@ -103,7 +103,6 @@ class groupOfLagMultElements : public groupOfElements
...
@@ -103,7 +103,6 @@ class groupOfLagMultElements : public groupOfElements
groupOfElements
::
elementContainer
::
iterator
itp
=
pElem
.
begin
();
groupOfElements
::
elementContainer
::
iterator
itp
=
pElem
.
begin
();
for
(;
itp
!=
pElem
.
end
();
itp
++
)
for
(;
itp
!=
pElem
.
end
();
itp
++
)
{
{
MElement
*
ep
;
if
((
*
itp
)
->
getParent
())
if
((
*
itp
)
->
getParent
())
{
{
if
(
sElem
.
find
(
*
itp
))
insert
((
*
itp
))
;
// warning : find method used to check if parent is in sElem
if
(
sElem
.
find
(
*
itp
))
insert
((
*
itp
))
;
// warning : find method used to check if parent is in sElem
...
@@ -123,7 +122,7 @@ class groupOfLagMultElements : public groupOfElements
...
@@ -123,7 +122,7 @@ class groupOfLagMultElements : public groupOfElements
groupOfLagMultElements
(
int
dim
,
int
physical
,
std
::
vector
<
groupOfElements
*>
sElem
)
:
groupOfElements
()
groupOfLagMultElements
(
int
dim
,
int
physical
,
std
::
vector
<
groupOfElements
*>
sElem
)
:
groupOfElements
()
{
{
groupOfElements
pElem
(
dim
,
physical
);
groupOfElements
pElem
(
dim
,
physical
);
for
(
int
i
;
i
<
sElem
.
size
()
;
i
++
)
for
(
unsigned
int
i
;
i
<
sElem
.
size
()
;
i
++
)
{
{
fillElementContainer
(
pElem
,(
*
sElem
[
i
]));
fillElementContainer
(
pElem
,(
*
sElem
[
i
]));
}
}
...
...
This diff is collapsed.
Click to expand it.
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