Commit 516afc84 authored by Chris Cantwell's avatar Chris Cantwell
Browse files

Removed trailing whitespace.

parent 980f4a7b
...@@ -84,7 +84,7 @@ FilterBenchmark::~FilterBenchmark() ...@@ -84,7 +84,7 @@ FilterBenchmark::~FilterBenchmark()
* *
*/ */
void FilterBenchmark::v_Initialise( void FilterBenchmark::v_Initialise(
const Array<OneD, const MultiRegions::ExpListSharedPtr> &pFields, const Array<OneD, const MultiRegions::ExpListSharedPtr> &pFields,
const NekDouble &time) const NekDouble &time)
{ {
m_threshold.push_back(Array<OneD, NekDouble>( m_threshold.push_back(Array<OneD, NekDouble>(
...@@ -98,7 +98,7 @@ void FilterBenchmark::v_Initialise( ...@@ -98,7 +98,7 @@ void FilterBenchmark::v_Initialise(
* *
*/ */
void FilterBenchmark::v_Update( void FilterBenchmark::v_Update(
const Array<OneD, const MultiRegions::ExpListSharedPtr> &pFields, const Array<OneD, const MultiRegions::ExpListSharedPtr> &pFields,
const NekDouble &time) const NekDouble &time)
{ {
if (time < m_startTime) if (time < m_startTime)
...@@ -131,7 +131,7 @@ void FilterBenchmark::v_Update( ...@@ -131,7 +131,7 @@ void FilterBenchmark::v_Update(
} }
int max_idx = Vmath::Vmax(pFields[0]->GetNpoints(), m_idx, 1); int max_idx = Vmath::Vmax(pFields[0]->GetNpoints(), m_idx, 1);
pFields[0]->GetSession()->GetComm()->AllReduce(max_idx, pFields[0]->GetSession()->GetComm()->AllReduce(max_idx,
LibUtilities::ReduceMax); LibUtilities::ReduceMax);
if (m_threshold.size() == max_idx) if (m_threshold.size() == max_idx)
{ {
...@@ -146,7 +146,7 @@ void FilterBenchmark::v_Update( ...@@ -146,7 +146,7 @@ void FilterBenchmark::v_Update(
* *
*/ */
void FilterBenchmark::v_Finalise( void FilterBenchmark::v_Finalise(
const Array<OneD, const MultiRegions::ExpListSharedPtr> &pFields, const Array<OneD, const MultiRegions::ExpListSharedPtr> &pFields,
const NekDouble &time) const NekDouble &time)
{ {
for (int i = 0; i < m_threshold.size() - 1; ++i) for (int i = 0; i < m_threshold.size() - 1; ++i)
......
...@@ -50,8 +50,8 @@ public: ...@@ -50,8 +50,8 @@ public:
static SolverUtils::FilterSharedPtr create( static SolverUtils::FilterSharedPtr create(
const LibUtilities::SessionReaderSharedPtr &pSession, const LibUtilities::SessionReaderSharedPtr &pSession,
const std::map<std::string, std::string> &pParams) { const std::map<std::string, std::string> &pParams) {
SolverUtils::FilterSharedPtr p = SolverUtils::FilterSharedPtr p =
MemoryManager<FilterBenchmark>::AllocateSharedPtr(pSession, MemoryManager<FilterBenchmark>::AllocateSharedPtr(pSession,
pParams); pParams);
return p; return p;
} }
...@@ -66,13 +66,13 @@ public: ...@@ -66,13 +66,13 @@ public:
protected: protected:
virtual void v_Initialise( virtual void v_Initialise(
const Array<OneD, const MultiRegions::ExpListSharedPtr> &pFields, const Array<OneD, const MultiRegions::ExpListSharedPtr> &pFields,
const NekDouble &time); const NekDouble &time);
virtual void v_Update( virtual void v_Update(
const Array<OneD, const MultiRegions::ExpListSharedPtr> &pFields, const Array<OneD, const MultiRegions::ExpListSharedPtr> &pFields,
const NekDouble &time); const NekDouble &time);
virtual void v_Finalise( virtual void v_Finalise(
const Array<OneD, const MultiRegions::ExpListSharedPtr> &pFields, const Array<OneD, const MultiRegions::ExpListSharedPtr> &pFields,
const NekDouble &time); const NekDouble &time);
virtual bool v_IsTimeDependent(); virtual bool v_IsTimeDependent();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment