Skip to content
GitLab
Menu
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
46cf564b
Commit
46cf564b
authored
Feb 03, 2012
by
Praetorius, Simon
Browse files
VecAtQP_SOT with NULL-Pointer fct
parent
7a263673
Changes
1
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/SecondOrderTerm.cc
View file @
46cf564b
...
...
@@ -179,7 +179,7 @@ namespace AMDiS {
VecAtQP_SOT
::
VecAtQP_SOT
(
DOFVectorBase
<
double
>
*
dv
,
AbstractFunction
<
double
,
double
>
*
af
)
:
SecondOrderTerm
(
af
->
getDegree
()),
vec
(
dv
),
f
(
af
)
:
SecondOrderTerm
(
af
?
af
->
getDegree
()
:
dv
->
getFeSpace
()
->
getBasisFcts
()
->
getDegree
()),
vec
(
dv
),
f
(
af
)
{
setSymmetric
(
true
);
...
...
@@ -1294,7 +1294,7 @@ namespace AMDiS {
VecAtQP_IJ_SOT
::
VecAtQP_IJ_SOT
(
DOFVectorBase
<
double
>
*
dv
,
AbstractFunction
<
double
,
double
>
*
af
,
int
x_i
,
int
x_j
)
:
SecondOrderTerm
(
af
->
getDegree
()),
vec
(
dv
),
f
(
af
),
xi
(
x_i
),
xj
(
x_j
)
:
SecondOrderTerm
(
af
?
af
->
getDegree
()
:
dv
->
getFeSpace
()
->
getBasisFcts
()
->
getDegree
()),
vec
(
dv
),
f
(
af
),
xi
(
x_i
),
xj
(
x_j
)
{
setSymmetric
(
xi
==
xj
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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