Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
solverstack
ScalFMM
Commits
f5450854
Commit
f5450854
authored
Jun 19, 2012
by
Matthias Messner
Browse files
bla
parent
65996aa8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Tests/Utils/testACA.cpp
View file @
f5450854
...
...
@@ -113,12 +113,15 @@ int main(int argc, char* argv[])
// compute f0 = Kw
FReal
*
const
f0
=
new
FReal
[
nnodes
];
FBlas
::
gemv
(
nnodes
,
nnodes
,
FReal
(
1.
),
K
,
w
,
f0
);
// allocate UV and k
FReal
*
U
,
*
V
;
unsigned
int
k
;
/*
// call fACA /////////////////////////////////
std::cout << "|- Computing fACA" << std::flush;
time.tic();
FReal
*
U
,
*
V
;
unsigned
int
k
;
fACA(K, nnodes, nnodes, epsilon, U, V, k);
std::cout << " (k = " << k << "), finished in " << time.tacAndElapsed() << "s." << std::endl;
delete [] K;
...
...
@@ -132,6 +135,8 @@ int main(int argc, char* argv[])
std::cout << " |- L2 error = " << computeL2norm(nnodes, f0, f1) << std::endl;
delete [] U;
delete [] V;
delete [] f1;
*/
// call pACA ///////////////////////////////////
std
::
cout
<<
"|- Computing pACA"
<<
std
::
flush
;
...
...
@@ -151,7 +156,6 @@ int main(int argc, char* argv[])
delete
[]
w
;
delete
[]
f0
;
delete
[]
f1
;
delete
[]
f2
;
return
0
;
...
...
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