Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
amdis
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
Container Registry
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Backofen, Rainer
amdis
Commits
08a27a7c
Commit
08a27a7c
authored
14 years ago
by
Thomas Witkowski
Browse files
Options
Downloads
Patches
Plain Diff
Bugfix for integration of DOFVectors with dual mesh.
parent
2d8a6968
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
AMDiS/src/DOFVector.cc
+7
-4
7 additions, 4 deletions
AMDiS/src/DOFVector.cc
with
7 additions
and
4 deletions
AMDiS/src/DOFVector.cc
+
7
−
4
View file @
08a27a7c
...
...
@@ -758,6 +758,9 @@ namespace AMDiS {
TEST_EXIT_DBG
(
!
quadFast
||
quadFast
->
getBasisFunctions
()
==
feSpace
->
getBasisFcts
())
(
"invalid basis functions"
);
if
(
smallElInfo
->
getMesh
()
==
feSpace
->
getMesh
())
return
getVecAtQPs
(
smallElInfo
,
quad
,
quadFast
,
vecAtQPs
);
const
BasisFunction
*
basFcts
=
feSpace
->
getBasisFcts
();
int
nPoints
=
quadFast
?
quadFast
->
getQuadrature
()
->
getNumPoints
()
:
quad
->
getNumPoints
();
...
...
@@ -943,11 +946,11 @@ namespace AMDiS {
double
det
=
dualElInfo
.
smallElInfo
->
getDet
();
double
tmp
=
0.0
;
vec1
.
getVecAtQPs
(
dualElInfo
.
smallElInfo
,
dualElInfo
.
largeElInfo
,
quad
,
fastQuad
,
&
(
qp1
[
0
]));
quad
,
NULL
,
&
(
qp1
[
0
]));
vec2
.
getVecAtQPs
(
dualElInfo
.
smallElInfo
,
dualElInfo
.
largeElInfo
,
quad
,
fastQuad
,
&
(
qp2
[
0
]));
for
(
int
iq
=
0
;
iq
<
fastQ
uad
->
getNumPoints
();
iq
++
)
tmp
+=
fastQ
uad
->
getWeight
(
iq
)
*
(
*
fct
)(
qp1
[
iq
],
qp2
[
iq
]);
quad
,
NULL
,
&
(
qp2
[
0
]));
for
(
int
iq
=
0
;
iq
<
q
uad
->
getNumPoints
();
iq
++
)
tmp
+=
q
uad
->
getWeight
(
iq
)
*
(
*
fct
)(
qp1
[
iq
],
qp2
[
iq
]);
value
+=
tmp
*
det
;
...
...
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