Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Aland, Sebastian
amdis
Commits
fc619e37
Commit
fc619e37
authored
Nov 04, 2014
by
Siqi Ling
Browse files
change in function matvecassemble to get rid of: Da stimmt was nicht
parent
1c8e6e76
Changes
1
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/Assembler.cc
View file @
fc619e37
...
...
@@ -341,19 +341,21 @@ namespace AMDiS {
TEST_EXIT
(
rowFeSpace
->
getBasisFcts
()
==
colFeSpace
->
getBasisFcts
())
(
"Works only for equal basis functions for different components!
\n
"
);
TEST_EXIT
(
operat
->
uhOld
->
getFeSpace
()
->
getMesh
()
==
auxElInfo
->
getMesh
())
(
"Da stimmt was nicht!
\n
"
);
Element
*
mainEl
=
mainElInfo
->
getElement
();
Element
*
auxEl
=
auxElInfo
->
getElement
();
Element
*
usedEl
=
nullptr
;
if
(
operat
->
uhOld
->
getFeSpace
()
->
getMesh
()
==
auxElInfo
->
getMesh
())
usedEl
=
auxElInfo
->
getElement
();
else
if
(
operat
->
uhOld
->
getFeSpace
()
->
getMesh
()
==
mainElInfo
->
getMesh
())
usedEl
=
mainElInfo
->
getElement
();
else
ERROR
(
"Mesh is incorrect.
\n
"
);
const
BasisFunction
*
basFcts
=
rowFeSpace
->
getBasisFcts
();
int
nBasFcts
=
basFcts
->
getNumber
();
ElementVector
uhOldLoc
(
nBasFcts
);
operat
->
uhOld
->
getLocalVector
(
aux
El
,
uhOldLoc
);
operat
->
uhOld
->
getLocalVector
(
used
El
,
uhOldLoc
);
if
(
mainEl
!=
lastMatEl
)
{
if
(
mainEl
Info
->
getElement
()
!=
lastMatEl
)
{
set_to_zero
(
elementMatrix
);
calculateElementMatrix
(
mainElInfo
,
auxElInfo
,
smallElInfo
,
largeElInfo
,
false
,
elementMatrix
);
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment