Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Seitosh
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
9
Issues
9
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Seitosh
Seitosh
Commits
1e54260d
Commit
1e54260d
authored
Jul 23, 2016
by
thomas.forbriger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libstfinv [WP]: improve debug output of STFFourierDomainEngine::initialize
parent
bef3db97
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
11 deletions
+20
-11
src/libs/libstfinv/debug.h
src/libs/libstfinv/debug.h
+9
-2
src/libs/libstfinv/stfinvfourier.cc
src/libs/libstfinv/stfinvfourier.cc
+11
-9
No files found.
src/libs/libstfinv/debug.h
View file @
1e54260d
...
...
@@ -40,7 +40,7 @@
"STFINV_DEBUG_H V1.0"
/*! \brief produce debug output
* \ingroup
misc_h
* \ingroup
debug
*
* \param C output will be generated if C == true
* \param N name of function
...
...
@@ -54,8 +54,15 @@
std::cerr.flush(); \
}
/*! \brief report value in a sequence of output operators
* \ingroup debug
*
* \param P parameter to dump
*/
#define STFINV_value( P ) #P << "=" << P
/*! \brief report value of expression
* \ingroup
misc_h
* \ingroup
debug
*
* \param P parameter to dump
*/
...
...
src/libs/libstfinv/stfinvfourier.cc
View file @
1e54260d
...
...
@@ -263,15 +263,17 @@ namespace stfinv {
"ERROR: taper definition times not in increasing order"
);
STFINV_debug
(
Mdebug
&
1
,
"STFFourierDomainEngine::initialize()"
,
"this->nsamples()="
<<
this
->
nsamples
()
<<
" "
<<
"padfactor="
<<
padfactor
<<
" "
<<
"divisor="
<<
divisor
<<
" "
<<
"nsamples="
<<
nsamples
<<
" "
<<
"Mapplyshift="
<<
Mapplyshift
<<
" "
<<
"Mtshift="
<<
Mtshift
<<
" "
<<
"Mapplystftaper="
<<
Mapplystftaper
<<
" "
<<
"Mtt1, Mtt2, Mtt3, Mtt4="
<<
Mtt1
<<
", "
<<
Mtt2
<<
", "
<<
Mtt3
<<
", "
<<
Mtt4
);
STFINV_value
(
this
->
nsamples
())
<<
"
\n
"
<<
STFINV_value
(
padfactor
)
<<
"
\n
"
<<
STFINV_value
(
divisor
)
<<
"
\n
"
<<
STFINV_value
(
nsamples
)
<<
"
\n
"
<<
STFINV_value
(
Mapplyshift
)
<<
"
\n
"
<<
STFINV_value
(
Mtshift
)
<<
"
\n
"
<<
STFINV_value
(
Mapplystftaper
)
<<
"
\n
"
<<
STFINV_value
(
Mtt1
)
<<
"
\n
"
<<
STFINV_value
(
Mtt2
)
<<
"
\n
"
<<
STFINV_value
(
Mtt3
)
<<
"
\n
"
<<
STFINV_value
(
Mtt4
));
}
// void STFFourierDomainEngine::initialize()
/*----------------------------------------------------------------------*/
...
...
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