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
2f032ddb
Commit
2f032ddb
authored
15 years ago
by
Samuel Melchior
Browse files
Options
Downloads
Patches
Plain Diff
Bug solved in Mesh2Mesh_BuildL2projection
parent
060ee3dd
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Solver/dgDofContainer.cpp
+2
-1
2 additions, 1 deletion
Solver/dgDofContainer.cpp
with
2 additions
and
1 deletion
Solver/dgDofContainer.cpp
+
2
−
1
View file @
2f032ddb
...
...
@@ -251,6 +251,7 @@ void dgDofContainer::Mesh2Mesh_BuildL2Projection(linearSystemCSRGmm<double> &pro
// evauate quad
// add to matrix correct indices
// For multigrid, the donor and receiver are inverted :S
dgGroupCollection
*
dGroups
=
donor
.
getGroups
();
dgGroupCollection
*
rGroups
=
this
->
getGroups
();
std
::
vector
<
int
>
rGroupsStartIGlobal
(
rGroups
->
getNbElementGroups
()
+
1
);
...
...
@@ -290,7 +291,7 @@ void dgDofContainer::Mesh2Mesh_BuildL2Projection(linearSystemCSRGmm<double> &pro
rElem
->
xyz2uvw
(
X
,
U
);
dGroup
.
getFunctionSpace
().
f
(
iPtsMatrix
(
iPt
,
0
),
iPtsMatrix
(
iPt
,
1
),
iPtsMatrix
(
iPt
,
2
),
dShapeFun
);
rGroup
.
getFunctionSpace
().
f
(
U
[
0
],
U
[
1
],
U
[
2
],
rShapeFun
);
const
double
detJ
=
dGroup
.
getDetJ
(
i
Element
,
iPt
);
const
double
detJ
=
dGroup
.
getDetJ
(
j
Element
,
iPt
);
int
iGlobal
=
rGroupsStartIGlobal
[
iGroup
]
+
rGroup
.
getNbNodes
()
*
iElement
;
for
(
int
jNode
=
0
;
jNode
<
dGroup
.
getNbNodes
();
jNode
++
){
for
(
int
iNode
=
0
;
iNode
<
rGroup
.
getNbNodes
();
iNode
++
){
...
...
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