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
145602ce
Commit
145602ce
authored
Nov 12, 2008
by
Thomas Witkowski
Browse files
* Bug fix
parent
2c2896fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/ProblemVec.cc
View file @
145602ce
...
...
@@ -54,12 +54,12 @@ namespace AMDiS {
// If the adopt problem has fewer components than this problem, but only one
// mesh for all component, than scal up the componentMeshes array.
if
(
adoptProblem
->
getNumComponents
()
<
n
um
Components
_
)
{
if
(
adoptProblem
->
getNumComponents
()
<
nComponents
)
{
TEST_EXIT
(
meshes_
.
size
()
==
1
)(
"Daran muss ich noch arbeiten!
\n
"
);
componentMeshes
_
.
resize
(
n
um
Components
_
);
for
(
int
i
=
adoptProblem
->
getNumComponents
();
i
<
n
um
Components
_
;
i
++
)
{
componentMeshes
_
[
i
]
=
componentMeshes
_
[
0
];
componentMeshes
.
resize
(
nComponents
);
for
(
int
i
=
adoptProblem
->
getNumComponents
();
i
<
nComponents
;
i
++
)
{
componentMeshes
[
i
]
=
componentMeshes
[
0
];
}
}
...
...
@@ -84,12 +84,12 @@ namespace AMDiS {
// If the adopt problem has fewer components than this problem, but only one
// fe space for all component, than scal up the componentSpaces array.
if
(
adoptProblem
->
getNumComponents
()
<
n
um
Components
_
)
{
TEST_EXIT
(
feSpaces
_
.
size
()
==
1
)(
"Daran muss ich noch arbeiten!
\n
"
);
if
(
adoptProblem
->
getNumComponents
()
<
nComponents
)
{
TEST_EXIT
(
feSpaces
.
size
()
==
1
)(
"Daran muss ich noch arbeiten!
\n
"
);
componentSpaces
_
.
resize
(
n
um
Components
_
);
for
(
int
i
=
adoptProblem
->
getNumComponents
();
i
<
n
um
Components
_
;
i
++
)
{
componentSpaces
_
[
i
]
=
componentSpaces
_
[
0
];
componentSpaces
.
resize
(
nComponents
);
for
(
int
i
=
adoptProblem
->
getNumComponents
();
i
<
nComponents
;
i
++
)
{
componentSpaces
[
i
]
=
componentSpaces
[
0
];
}
}
...
...
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