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
iwr
amdis
Commits
2c8d6db8
Commit
2c8d6db8
authored
Nov 10, 2008
by
Thomas Witkowski
Browse files
* Removed some debug output
parent
ceecc7c5
Changes
2
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/Lagrange.cc
View file @
2c8d6db8
...
...
@@ -49,11 +49,8 @@ namespace AMDiS {
Lagrange
::~
Lagrange
()
{
std
::
cout
<<
"DELETE LAGRANGE"
<<
std
::
endl
;
std
::
cout
<<
"BARY ADR = "
<<
bary
<<
std
::
endl
;
for
(
int
i
=
0
;
i
<
static_cast
<
int
>
(
bary
->
size
());
i
++
)
{
if
((
*
bary
)[
i
])
{
std
::
cout
<<
"DEL ADR = "
<<
(
*
bary
)[
i
]
<<
std
::
endl
;
DELETE
(
*
bary
)[
i
];
(
*
bary
)[
i
]
=
NULL
;
}
...
...
@@ -650,9 +647,7 @@ namespace AMDiS {
if
(
dimIndex
==
numCoords
-
1
)
{
(
*
vec
)[
coordInd
[
dimIndex
]]
=
double
(
rest
)
/
degree
;
DimVec
<
double
>*
newCoords
=
NEW
DimVec
<
double
>
(
*
vec
);
std
::
cout
<<
"BARY ADR = "
<<
bary
<<
std
::
endl
;
bary
->
push_back
(
newCoords
);
std
::
cout
<<
"ADD ADR = "
<<
newCoords
<<
std
::
endl
;
}
else
{
for
(
int
i
=
rest
-
1
;
i
>=
1
;
i
--
)
{
(
*
vec
)[
coordInd
[
dimIndex
]]
=
double
(
i
)
/
degree
;
...
...
AMDiS/src/ProblemScal.cc
View file @
2c8d6db8
...
...
@@ -425,6 +425,8 @@ namespace AMDiS {
// create finite element space
int
degree
=
1
;
GET_PARAMETER
(
0
,
name_
+
"->polynomial degree"
,
"%d"
,
&
degree
);
std
::
cout
<<
degree
<<
std
::
endl
;
WAIT_REALLY
;
feSpace_
=
FiniteElemSpace
::
provideFESpace
(
NULL
,
Lagrange
::
getLagrange
(
mesh
->
getDim
(),
degree
),
mesh
,
...
...
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