Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Julia
Nektar
Commits
9e4e2161
Commit
9e4e2161
authored
Jan 23, 2014
by
Chris Cantwell
Browse files
Fixed output in filters.
parent
2c8cd5aa
Changes
5
Hide whitespace changes
Inline
Side-by-side
library/Demos/MultiRegions/PostProcHDG2D.cpp
View file @
9e4e2161
...
...
@@ -129,12 +129,7 @@ int main(int argc, char *argv[])
//-----------------------------------------------
// Write solution to file
//string out = vSession->GetSessionName();
//if (vComm->GetSize() > 1)
//{
// out += "_P" + boost::lexical_cast<string>(vComm->GetRank());
//}
//out += ".fld";
//string out = vSession->GetSessionName() + ".fld";
//std::vector<LibUtilities::FieldDefinitionsSharedPtr> FieldDef
// = Exp->GetFieldDefinitions();
//std::vector<std::vector<NekDouble> > FieldData(FieldDef.size());
...
...
library/Demos/MultiRegions/PostProcHDG3D.cpp
View file @
9e4e2161
...
...
@@ -129,12 +129,7 @@ int main(int argc, char *argv[])
//-----------------------------------------------
// Write solution to file
//string out = vSession->GetSessionName();
//if (vComm->GetSize() > 1)
//{
// out += "_P" + boost::lexical_cast<string>(vComm->GetRank());
//}
//out += ".fld";
//string out = vSession->GetSessionName() + ".fld";
//std::vector<LibUtilities::FieldDefinitionsSharedPtr> FieldDef
// = Exp->GetFieldDefinitions();
//std::vector<std::vector<NekDouble> > FieldData(FieldDef.size());
...
...
library/SolverUtils/Filters/FilterCheckpoint.cpp
View file @
9e4e2161
...
...
@@ -85,13 +85,7 @@ namespace Nektar
}
std
::
stringstream
vOutputFilename
;
vOutputFilename
<<
m_outputFile
<<
"_"
<<
m_outputIndex
;
if
(
m_session
->
GetComm
()
->
GetSize
()
>
1
)
{
vOutputFilename
<<
"_P"
<<
m_session
->
GetComm
()
->
GetRank
();
}
vOutputFilename
<<
".chk"
;
vOutputFilename
<<
m_outputFile
<<
"_"
<<
m_outputIndex
<<
".chk"
;
std
::
vector
<
LibUtilities
::
FieldDefinitionsSharedPtr
>
FieldDef
=
pFields
[
0
]
->
GetFieldDefinitions
();
...
...
library/SolverUtils/Filters/FilterThresholdMax.cpp
View file @
9e4e2161
...
...
@@ -86,12 +86,7 @@ namespace Nektar
void
FilterThresholdMax
::
v_Finalise
(
const
Array
<
OneD
,
const
MultiRegions
::
ExpListSharedPtr
>
&
pFields
,
const
NekDouble
&
time
)
{
std
::
stringstream
vOutputFilename
;
vOutputFilename
<<
m_outputFile
;
if
(
m_session
->
GetComm
()
->
GetSize
()
>
1
)
{
vOutputFilename
<<
"_P"
<<
m_session
->
GetComm
()
->
GetRank
();
}
vOutputFilename
<<
".fld"
;
vOutputFilename
<<
m_outputFile
<<
".fld"
;
std
::
vector
<
LibUtilities
::
FieldDefinitionsSharedPtr
>
FieldDef
=
pFields
[
0
]
->
GetFieldDefinitions
();
...
...
solvers/CardiacEPSolver/Filters/FilterCheckpointCellModel.cpp
View file @
9e4e2161
...
...
@@ -87,13 +87,7 @@ namespace Nektar
}
std
::
stringstream
vOutputFilename
;
vOutputFilename
<<
m_outputFile
<<
"_"
<<
m_outputIndex
;
if
(
m_session
->
GetComm
()
->
GetSize
()
>
1
)
{
vOutputFilename
<<
"_P"
<<
m_session
->
GetComm
()
->
GetRank
();
}
vOutputFilename
<<
".chk"
;
vOutputFilename
<<
m_outputFile
<<
"_"
<<
m_outputIndex
<<
".chk"
;
SpatialDomains
::
MeshGraphSharedPtr
vGraph
=
pFields
[
0
]
->
GetGraph
();
...
...
Write
Preview
Supports
Markdown
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