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
11157150
Commit
11157150
authored
Jun 09, 2009
by
Thomas Witkowski
Browse files
nothing really important.
parent
e41a4ba0
Changes
5
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/Lagrange.cc
View file @
11157150
...
...
@@ -961,9 +961,8 @@ namespace AMDiS {
const
DOFAdmin
*
admin
,
Vector
<
DegreeOfFreedom
>
*
indices
)
const
{
if
(
indices
->
getSize
()
<
nBasFcts
)
{
if
(
indices
->
getSize
()
<
nBasFcts
)
indices
->
resize
(
nBasFcts
);
}
getLocalIndices
(
el
,
admin
,
&
((
*
indices
)[
0
]));
}
...
...
AMDiS/src/MacroElement.cc
View file @
11157150
...
...
@@ -56,9 +56,8 @@ namespace AMDiS {
// write coords
int
size
=
coord
.
getSize
();
out
.
write
(
reinterpret_cast
<
const
char
*>
(
&
size
),
sizeof
(
int
));
for
(
int
i
=
0
;
i
<
size
;
i
++
)
{
for
(
int
i
=
0
;
i
<
size
;
i
++
)
coord
[
i
].
serialize
(
out
);
}
// write boundary
boundary
.
serialize
(
out
);
...
...
AMDiS/src/MacroReader.cc
View file @
11157150
...
...
@@ -374,16 +374,16 @@ namespace AMDiS {
for
(
int
i
=
0
;
i
<
ne
;
i
++
)
{
mel
[
i
]
->
element
=
mesh
->
createNewElement
();
(
mel
)
[
i
]
->
index
=
i
;
mel
[
i
]
->
index
=
i
;
if
(
dim
==
3
)
(
mel
)
[
i
]
->
elType
=
0
;
mel
[
i
]
->
elType
=
0
;
}
neigh_set
=
false
;
bound_set
=
false
;
}
void
MacroInfo
::
clear
(
int
ne
,
int
nv
)
void
MacroInfo
::
clear
()
{
for
(
int
i
=
0
;
i
<
mesh
->
getNumberOfMacros
();
i
++
)
delete
[]
mel_vertex
[
i
];
...
...
AMDiS/src/MacroReader.h
View file @
11157150
...
...
@@ -133,7 +133,7 @@ namespace AMDiS {
void
readAMDiSMacro
(
const
char
*
filename
,
Mesh
*
mesh
);
/// Frees memory of MacroInfo
void
clear
(
int
ne
,
int
nv
);
void
clear
();
/** \brief
* Sets the boundary of all edges/faces with no neigbour to a straight
...
...
AMDiS/src/Mesh.cc
View file @
11157150
...
...
@@ -1130,7 +1130,7 @@ namespace AMDiS {
void
Mesh
::
clearMacroFileInfo
()
{
macroFileInfo
->
clear
(
nEdges
,
nVertices
);
macroFileInfo
->
clear
();
delete
macroFileInfo
;
macroFileInfo
=
NULL
;
}
...
...
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