Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Nektar
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Ronald
Nektar
Commits
15636c9b
Commit
15636c9b
authored
Jun 02, 2016
by
Douglas Serson
Committed by
Dave Moxey
Jun 21, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Suppress Xxt stats output when running without verbose option
(cherry picked from commit
9111029d
)
parent
3cd16603
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
15 additions
and
10 deletions
+15
-10
library/MultiRegions/GlobalLinSys.cpp
library/MultiRegions/GlobalLinSys.cpp
+3
-1
library/MultiRegions/GlobalLinSys.h
library/MultiRegions/GlobalLinSys.h
+2
-0
library/MultiRegions/GlobalLinSysIterative.cpp
library/MultiRegions/GlobalLinSysIterative.cpp
+1
-5
library/MultiRegions/GlobalLinSysIterative.h
library/MultiRegions/GlobalLinSysIterative.h
+1
-2
library/MultiRegions/GlobalLinSysXxtFull.cpp
library/MultiRegions/GlobalLinSysXxtFull.cpp
+4
-1
library/MultiRegions/GlobalLinSysXxtStaticCond.cpp
library/MultiRegions/GlobalLinSysXxtStaticCond.cpp
+4
-1
No files found.
library/MultiRegions/GlobalLinSys.cpp
View file @
15636c9b
...
...
@@ -192,7 +192,9 @@ namespace Nektar
&
pLocToGloMap
)
:
m_linSysKey
(
pKey
),
m_expList
(
pExpList
),
m_robinBCInfo
(
m_expList
.
lock
()
->
GetRobinBCInfo
())
m_robinBCInfo
(
m_expList
.
lock
()
->
GetRobinBCInfo
()),
m_verbose
(
m_expList
.
lock
()
->
GetSession
()
->
DefinesCmdLineArgument
(
"verbose"
))
{
}
...
...
library/MultiRegions/GlobalLinSys.h
View file @
15636c9b
...
...
@@ -129,6 +129,8 @@ namespace Nektar
const
boost
::
weak_ptr
<
ExpList
>
m_expList
;
/// Robin boundary info
const
std
::
map
<
int
,
RobinBCInfoSharedPtr
>
m_robinBCInfo
;
// Provide verbose output
bool
m_verbose
;
virtual
int
v_GetNumBlocks
();
virtual
DNekScalMatSharedPtr
v_GetBlock
(
unsigned
int
n
);
...
...
library/MultiRegions/GlobalLinSysIterative.cpp
View file @
15636c9b
...
...
@@ -61,15 +61,11 @@ namespace Nektar
m_useProjection
(
false
),
m_numPrevSols
(
0
)
{
LibUtilities
::
SessionReaderSharedPtr
vSession
=
pExpList
.
lock
()
->
GetSession
();
m_tolerance
=
pLocToGloMap
->
GetIterativeTolerance
();
m_maxiter
=
pLocToGloMap
->
GetMaxIterations
();
LibUtilities
::
CommSharedPtr
vComm
=
m_expList
.
lock
()
->
GetComm
()
->
GetRowComm
();
m_root
=
(
vComm
->
GetRank
())
?
false
:
true
;
m_verbose
=
(
vSession
->
DefinesCmdLineArgument
(
"verbose"
))
?
true
:
false
;
int
successiveRHS
;
...
...
library/MultiRegions/GlobalLinSysIterative.h
View file @
15636c9b
...
...
@@ -85,9 +85,8 @@ namespace Nektar
/// Whether to apply projection technique
bool
m_useProjection
;
///
Provide verbose output and root if parallel.
///
Root if parallel
bool
m_root
;
bool
m_verbose
;
/// Storage for solutions to previous linear problems
boost
::
circular_buffer
<
Array
<
OneD
,
NekDouble
>
>
m_prevLinSol
;
...
...
library/MultiRegions/GlobalLinSysXxtFull.cpp
View file @
15636c9b
...
...
@@ -277,7 +277,10 @@ namespace Nektar
// Set up XXT and output some stats
LibUtilities
::
CommSharedPtr
vComm
=
pLocToGloMap
->
GetComm
();
m_crsData
=
Xxt
::
Init
(
nLocal
,
vId
,
m_Ai
,
m_Aj
,
m_Ar
,
vComm
);
if
(
m_verbose
)
{
Xxt
::
nektar_crs_stats
(
m_crsData
);
}
}
}
}
library/MultiRegions/GlobalLinSysXxtStaticCond.cpp
View file @
15636c9b
...
...
@@ -254,8 +254,11 @@ namespace Nektar
// Set up XXT and output some stats
LibUtilities
::
CommSharedPtr
vComm
=
pLocToGloMap
->
GetComm
()
->
GetRowComm
();
m_crsData
=
Xxt
::
Init
(
nLocal
,
vId
,
m_Ai
,
m_Aj
,
m_Ar
,
vComm
);
if
(
m_verbose
)
{
Xxt
::
nektar_crs_stats
(
m_crsData
);
}
}
GlobalLinSysStaticCondSharedPtr
GlobalLinSysXxtStaticCond
::
v_Recurse
(
const
GlobalLinSysKey
&
mkey
,
...
...
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