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

Removed trailing whitespace.

parent 980f4a7b
......@@ -84,7 +84,7 @@ FilterBenchmark::~FilterBenchmark()
*
*/
void FilterBenchmark::v_Initialise(
const Array<OneD, const MultiRegions::ExpListSharedPtr> &pFields,
const Array<OneD, const MultiRegions::ExpListSharedPtr> &pFields,
const NekDouble &time)
{
m_threshold.push_back(Array<OneD, NekDouble>(
......@@ -98,7 +98,7 @@ void FilterBenchmark::v_Initialise(
*
*/
void FilterBenchmark::v_Update(
const Array<OneD, const MultiRegions::ExpListSharedPtr> &pFields,
const Array<OneD, const MultiRegions::ExpListSharedPtr> &pFields,
const NekDouble &time)
{
if (time < m_startTime)
......@@ -131,7 +131,7 @@ void FilterBenchmark::v_Update(
}
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);
if (m_threshold.size() == max_idx)
{
......@@ -146,7 +146,7 @@ void FilterBenchmark::v_Update(
*
*/
void FilterBenchmark::v_Finalise(
const Array<OneD, const MultiRegions::ExpListSharedPtr> &pFields,
const Array<OneD, const MultiRegions::ExpListSharedPtr> &pFields,
const NekDouble &time)
{
for (int i = 0; i < m_threshold.size() - 1; ++i)
......
......@@ -50,8 +50,8 @@ public:
static SolverUtils::FilterSharedPtr create(
const LibUtilities::SessionReaderSharedPtr &pSession,
const std::map<std::string, std::string> &pParams) {
SolverUtils::FilterSharedPtr p =
MemoryManager<FilterBenchmark>::AllocateSharedPtr(pSession,
SolverUtils::FilterSharedPtr p =
MemoryManager<FilterBenchmark>::AllocateSharedPtr(pSession,
pParams);
return p;
}
......@@ -66,13 +66,13 @@ public:
protected:
virtual void v_Initialise(
const Array<OneD, const MultiRegions::ExpListSharedPtr> &pFields,
const Array<OneD, const MultiRegions::ExpListSharedPtr> &pFields,
const NekDouble &time);
virtual void v_Update(
const Array<OneD, const MultiRegions::ExpListSharedPtr> &pFields,
const Array<OneD, const MultiRegions::ExpListSharedPtr> &pFields,
const NekDouble &time);
virtual void v_Finalise(
const Array<OneD, const MultiRegions::ExpListSharedPtr> &pFields,
const Array<OneD, const MultiRegions::ExpListSharedPtr> &pFields,
const NekDouble &time);
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