Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
edu
mafe
Commits
fa6aff98
Commit
fa6aff98
authored
May 07, 2019
by
Andreas Zilian
Browse files
Change disp to warning.
parent
bf3c7e0d
Changes
1
Hide whitespace changes
Inline
Side-by-side
+mafe/ConstraintNode.m
View file @
fa6aff98
...
...
@@ -26,7 +26,7 @@ classdef ConstraintNode < mafe.Constraint
obj
.
cval
=
[
cval
(
1
)
*
ones
(
1
,
length
(
obj
.
node
)),
cval
(
2
)
*
ones
(
1
,
length
(
obj
.
node
))
]
end
if
length
(
obj
.
cval
)
~=
length
(
obj
.
node
)
*
length
(
obj
.
cdof
)
disp
(
'ConstraintNode: Error with given number of values != num nodes * num doftypes!'
)
warning
(
'ConstraintNode: Error with given number of values != num nodes * num doftypes!'
)
end
end
% ----------------------------------------------------------------------
...
...
@@ -39,7 +39,7 @@ classdef ConstraintNode < mafe.Constraint
dof
=
find
(
[
self
.
node
.
dof
]
==
cdof
);
% check
if
length
(
dof
)
~=
length
(
self
.
node
)
disp
(
'ConstraintNode:getDofSysIndices() --> Node missing requested dof!'
);
warning
(
'ConstraintNode:getDofSysIndices() --> Node missing requested dof!'
);
end
% get global dof indices
ndi
=
[
self
.
node
.
idx
];
...
...
Write
Preview
Supports
Markdown
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