Commit d9f7e7fd authored by Sebastian Eibl's avatar Sebastian Eibl

clang-tidy -checks=-*,performance-unnecessary-value-param

parent 009176e8
......@@ -504,7 +504,7 @@ class MyVTKOutput {
public:
MyVTKOutput( const ConstBlockDataID & pdfField, const ConstBlockDataID & flagField,
vtk::VTKOutput::BeforeFunction pdfGhostLayerSync, const Setup & setup ) :
const vtk::VTKOutput::BeforeFunction& pdfGhostLayerSync, const Setup & setup ) :
setup_( setup ), pdfField_( pdfField ), flagField_( flagField ), pdfGhostLayerSync_( pdfGhostLayerSync ) {}
void operator()( std::vector< shared_ptr<vtk::BlockCellDataWriterInterface> > & writers,
......
......@@ -111,7 +111,7 @@ const FlagUID MO_CLI_Flag( "moving obstacle CLI" );
// BLOCK STRUCTURE //
/////////////////////
static void refinementSelection( SetupBlockForest& forest, uint_t levels, AABB refinementBox )
static void refinementSelection( SetupBlockForest& forest, uint_t levels, const AABB& refinementBox )
{
real_t dx = real_t(1); // dx on finest level
for( auto block = forest.begin(); block != forest.end(); ++block )
......
......@@ -522,7 +522,7 @@ public:
VTKInfoLogger( SweepTimeloop* timeloop, const shared_ptr< StructuredBlockStorage > & blocks,
const ConstBlockDataID & bodyStorageID, const std::string & baseFolder,
const Vector3<real_t> u_infty ) :
const Vector3<real_t>& u_infty ) :
timeloop_( timeloop ), blocks_( blocks ), bodyStorageID_( bodyStorageID ), baseFolder_( baseFolder ), u_infty_( u_infty )
{ }
......
......@@ -538,7 +538,7 @@ class MyVTKOutput {
public:
MyVTKOutput( const ConstBlockDataID & pdfField, const ConstBlockDataID & flagField,
vtk::VTKOutput::BeforeFunction pdfGhostLayerSync ) :
const vtk::VTKOutput::BeforeFunction& pdfGhostLayerSync ) :
pdfField_( pdfField ), flagField_( flagField ), pdfGhostLayerSync_( pdfGhostLayerSync ) {}
void operator()( std::vector< shared_ptr<vtk::BlockCellDataWriterInterface> > & writers,
......
......@@ -657,7 +657,7 @@ class MyVTKOutput {
public:
MyVTKOutput( const ConstBlockDataID & pdfField, const ConstBlockDataID & flagField,
vtk::VTKOutput::BeforeFunction pdfGhostLayerSync, const Setup & setup ) :
const vtk::VTKOutput::BeforeFunction& pdfGhostLayerSync, const Setup & setup ) :
setup_( setup ), pdfField_( pdfField ), flagField_( flagField ), pdfGhostLayerSync_( pdfGhostLayerSync ) {}
void operator()( std::vector< shared_ptr<vtk::BlockCellDataWriterInterface> > & writers,
......
......@@ -1333,7 +1333,7 @@ class MyVTKOutput {
public:
MyVTKOutput( const ConstBlockDataID & pdfField, const ConstBlockDataID & flagField,
vtk::VTKOutput::BeforeFunction pdfGhostLayerSync ) :
const vtk::VTKOutput::BeforeFunction& pdfGhostLayerSync ) :
pdfField_( pdfField ), flagField_( flagField ), pdfGhostLayerSync_( pdfGhostLayerSync ) {}
void operator()( std::vector< shared_ptr<vtk::BlockCellDataWriterInterface> > & writers,
......@@ -1405,7 +1405,7 @@ public:
Evaluation( const weak_ptr< StructuredBlockStorage > & blocks, const uint_t checkFrequency,
const BlockDataID & pdfFieldId, const BlockDataID & flagFieldId, const FlagUID & fluid, const FlagUID & obstacle,
const Setup & setup,
const bool logToStream = true, const bool logToFile = true, const std::string filename = std::string("SchaeferTurek.txt"),
const bool logToStream = true, const bool logToFile = true, const std::string& filename = std::string("SchaeferTurek.txt"),
const Set<SUID> & requiredSelectors = Set<SUID>::emptySet(),
const Set<SUID> & incompatibleSelectors = Set<SUID>::emptySet() ) :
initialized_( false ), blocks_( blocks ),
......
......@@ -429,7 +429,7 @@ class MyVTKOutput {
public:
MyVTKOutput( const ConstBlockDataID & pdfField, const ConstBlockDataID & flagField,
vtk::VTKOutput::BeforeFunction pdfGhostLayerSync ) :
const vtk::VTKOutput::BeforeFunction& pdfGhostLayerSync ) :
pdfField_( pdfField ), flagField_( flagField ), pdfGhostLayerSync_( pdfGhostLayerSync ) {}
void operator()( std::vector< shared_ptr<vtk::BlockCellDataWriterInterface> > & writers,
......
......@@ -594,7 +594,7 @@ private:
uint_t numSpheres_;
};
void setBodyVelocities(const shared_ptr<StructuredBlockStorage> & blockStorage, const BlockDataID & bodyStorageID, Vector3<real_t> velocity )
void setBodyVelocities(const shared_ptr<StructuredBlockStorage> & blockStorage, const BlockDataID & bodyStorageID, const Vector3<real_t>& velocity )
{
for( auto blockIt = blockStorage->begin(); blockIt != blockStorage->end(); ++blockIt )
{
......
......@@ -1232,7 +1232,7 @@ void SetupBlockForest::calculateProcessDistribution_Default( const uint_t
const std::string& sfcMethod /* = std::string( "hilbert" ) */,
const uint_t sfcIterations /* = 10 */,
const bool sortByLevel /* = false */,
GlobalLoadBalancing::MetisConfiguration< SetupBlock > metisConfig,
const GlobalLoadBalancing::MetisConfiguration< SetupBlock >& metisConfig,
const bool reorderProcessesByBFS /* = false */,
const bool insertBufferProcesses /* = false */,
const real_t bufferProcessesFraction /* = real_c(0) */ )
......
......@@ -290,7 +290,7 @@ public:
const std::string& sfcMethod = std::string( "hilbert" ),
const uint_t sfcIterations = 10,
const bool sortByLevel = false,
GlobalLoadBalancing::MetisConfiguration< SetupBlock > metisConfig =
const GlobalLoadBalancing::MetisConfiguration< SetupBlock >& metisConfig =
GlobalLoadBalancing::MetisConfiguration< SetupBlock >(),
const bool reorderProcessesByBFS = false,
const bool insertBufferProcesses = false,
......
......@@ -672,7 +672,7 @@ bool Config::Block::addParameter( std::string key, const std::string& value )
// \param key The key of the new block.
// \return Reference to the new block.
*/
Config::Block& Config::Block::createBlock( std::string key )
Config::Block& Config::Block::createBlock( const std::string& key )
{
blocks_.push_back( Block( key ) );
return *blocks_.rbegin();
......
......@@ -230,7 +230,7 @@ public:
//@}
//****************************************************************************************************************
Block& createBlock( std::string key );
Block& createBlock( const std::string& key );
private:
//**Utility functions*********************************************************************************************
......
......@@ -23,8 +23,8 @@
#include "Operator.h"
#include "Variable.h"
#include <cmath>
#include <algorithm>
#include <cmath>
#include <memory>
......@@ -118,7 +118,7 @@ namespace math {
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// EQUATION
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Equation::Equation( NodePtr root) : root_ (root)
Equation::Equation( const NodePtr& root) : root_ (root)
{
root_->collectVariables( varMap_ );
}
......
......@@ -86,7 +86,7 @@ namespace math {
VarMap varMap_;
public:
Equation( NodePtr root );
Equation( const NodePtr& root );
private:
uint_t countUnknownVariables(){ return uint_c( root_->countUnknownVariables() ); }
......
......@@ -28,7 +28,7 @@
namespace walberla {
namespace math {
Var::Var ( std::string name ) :
Var::Var ( const std::string& name ) :
name_ (name),
valid_ (false),
value_ (FP_NAN)
......
......@@ -36,7 +36,7 @@ namespace math {
double value_;
public:
Var ( std::string name );
Var ( const std::string& name );
private:
Var& operator=( const Var& ){ return *this; }
......
......@@ -47,14 +47,14 @@ OpenMPBufferSystem::OpenMPBufferSystem( const MPI_Comm & communicator, int tag,
}
void OpenMPBufferSystem::addReceivingFunction( MPIRank rank, std::function<void ( RecvBuffer & buf ) > recvFunction )
void OpenMPBufferSystem::addReceivingFunction( MPIRank rank, const std::function<void ( RecvBuffer & buf ) >& recvFunction )
{
dirty_ = true;
recvFunctions_[rank] = recvFunction;
}
void OpenMPBufferSystem::addSendingFunction ( MPIRank rank, std::function<void ( SendBuffer & buf ) > sendFunction )
void OpenMPBufferSystem::addSendingFunction ( MPIRank rank, const std::function<void ( SendBuffer & buf ) >& sendFunction )
{
dirty_ = true;
sendRanks_.push_back( rank );
......
......@@ -60,8 +60,8 @@ public:
bool isSizeCommunicatedInNextStep() const { return bs_.isSizeCommunicatedInNextStep(); }
void addReceivingFunction( MPIRank rank, std::function<void ( RecvBuffer & buf ) > recvFunction );
void addSendingFunction ( MPIRank rank, std::function<void ( SendBuffer & buf ) > sendFunction );
void addReceivingFunction( MPIRank rank, const std::function<void ( RecvBuffer & buf ) >& recvFunction );
void addSendingFunction ( MPIRank rank, const std::function<void ( SendBuffer & buf ) >& sendFunction );
void clearReceivingFunctions() { dirty_ = true; recvFunctions_.clear(); }
void clearSendingFunctions() { dirty_ = true; sendFunctions_.clear(); sendRanks_.clear(); }
......
......@@ -7,7 +7,7 @@ namespace fft {
template <typename Field_T>
FourierTransform<Field_T>::FourierTransform( shared_ptr< StructuredBlockForest > & blocks, BlockDataID fieldId,
std::function<real_t(uint_t,uint_t,uint_t)> greens )
const std::function<real_t(uint_t,uint_t,uint_t)>& greens )
: blocks_(blocks), fieldId_(fieldId), greens_()
{
#ifdef WALBERLA_USE_PFFT
......
......@@ -22,7 +22,7 @@ class FourierTransform
{
public:
FourierTransform( shared_ptr< StructuredBlockForest > & blocks, BlockDataID fieldId,
std::function<real_t(uint_t,uint_t,uint_t)> greens = std::function<real_t(uint_t,uint_t,uint_t)>() );
const std::function<real_t(uint_t,uint_t,uint_t)>& greens = std::function<real_t(uint_t,uint_t,uint_t)>() );
void operator() ();
private:
......
......@@ -28,7 +28,7 @@ namespace geometry {
Ellipsoid::Ellipsoid( const Vector3<real_t> & midp,
Vector3<real_t> axis1,
Vector3<real_t> axis2,
Vector3<real_t> radii )
const Vector3<real_t>& radii )
: midpoint_( midp ), radii_( radii )
{
normalize( axis1 );
......
......@@ -59,7 +59,7 @@ namespace geometry {
* \param radii the length of the semi axes
*****************************************************************************************************************/
explicit Ellipsoid( const Vector3<real_t> & midpoint,
Vector3<real_t> axis1, Vector3<real_t> axis2, Vector3<real_t> radii );
Vector3<real_t> axis1, Vector3<real_t> axis2, const Vector3<real_t>& radii );
const AABB & boundingBox() const { return boundingBox_; }
......
......@@ -226,7 +226,7 @@ void GUI::run() {
timeloop_.run();
}
void GUI::registerPropertyTree( const shared_ptr<PropertyTree> ) {}
void GUI::registerPropertyTree( const shared_ptr<PropertyTree>& ) {}
const std::vector<shared_ptr<PropertyTree> > & GUI::getPropertyTrees() const {
throw( "Should not happen!" );
......
......@@ -50,7 +50,7 @@ namespace gui {
void run();
void registerPropertyTree( const shared_ptr<PropertyTree> propertyTree );
void registerPropertyTree( const shared_ptr<PropertyTree>& propertyTree );
typedef std::function< DisplayAdaptor * ( const IBlock &, ConstBlockDataID ) > DisplayAdaptorCreatorFunc;
void registerDisplayAdaptorCreator( const DisplayAdaptorCreatorFunc & creatorFunc );
......
......@@ -39,7 +39,7 @@ namespace mesh {
namespace pe {
ConvexPolyhedronID createConvexPolyhedron( BodyStorage& globalStorage, BlockStorage& blocks, BlockDataID storageID,
id_t uid, Vec3 gpos, const std::vector< Vec3 > & pointCloud,
id_t uid, const Vec3& gpos, const std::vector< Vec3 > & pointCloud,
MaterialID material,
bool global, bool communicating, bool infiniteMass )
{
......
......@@ -69,7 +69,7 @@ namespace pe {
*
*/
ConvexPolyhedronID createConvexPolyhedron( BodyStorage& globalStorage, BlockStorage& blocks, BlockDataID storageID,
id_t uid, Vec3 gpos, const std::vector< Vec3 > & pointCloud,
id_t uid, const Vec3& gpos, const std::vector< Vec3 > & pointCloud,
MaterialID material = Material::find("iron"),
bool global = false, bool communicating = true, bool infiniteMass = false );
//*************************************************************************************************
......
......@@ -19,8 +19,9 @@
//======================================================================================================================
#include "Raytracer.h"
#include "geometry/structured/extern/lodepng.h"
#include "core/mpi/all.h"
#include "geometry/structured/extern/lodepng.h"
namespace walberla {
namespace pe {
......@@ -67,16 +68,16 @@ void BodyIntersectionInfo_Comparator_MPI_OP( BodyIntersectionInfo *in, BodyInter
* \param isBodyVisibleFunc A function which returns a boolean indicating if a given body should be visible
* in the final image.
*/
Raytracer::Raytracer(const shared_ptr<BlockStorage> forest, const BlockDataID storageID,
const shared_ptr<BodyStorage> globalBodyStorage,
Raytracer::Raytracer(const shared_ptr<BlockStorage>& forest, const BlockDataID storageID,
const shared_ptr<BodyStorage>& globalBodyStorage,
const BlockDataID ccdID,
uint16_t pixelsHorizontal, uint16_t pixelsVertical,
real_t fov_vertical, uint16_t antiAliasFactor,
const Vec3& cameraPosition, const Vec3& lookAtPoint, const Vec3& upVector,
const Lighting& lighting,
const Color& backgroundColor,
std::function<ShadingParameters (const BodyID)> bodyToShadingParamsFunc,
std::function<bool (const BodyID)> isBodyVisibleFunc)
const std::function<ShadingParameters (const BodyID)>& bodyToShadingParamsFunc,
const std::function<bool (const BodyID)>& isBodyVisibleFunc)
: forest_(forest), storageID_(storageID), globalBodyStorage_(globalBodyStorage), ccdID_(ccdID),
pixelsHorizontal_(pixelsHorizontal), pixelsVertical_(pixelsVertical),
fov_vertical_(fov_vertical), antiAliasFactor_(antiAliasFactor),
......@@ -121,12 +122,12 @@ Raytracer::Raytracer(const shared_ptr<BlockStorage> forest, const BlockDataID st
* For the lighting a config block within the Raytracer config block named Lighting has to be defined,
* information about its contents is in the Lighting class.
*/
Raytracer::Raytracer(const shared_ptr<BlockStorage> forest, const BlockDataID storageID,
const shared_ptr<BodyStorage> globalBodyStorage,
Raytracer::Raytracer(const shared_ptr<BlockStorage>& forest, const BlockDataID storageID,
const shared_ptr<BodyStorage>& globalBodyStorage,
const BlockDataID ccdID,
const Config::BlockHandle& config,
std::function<ShadingParameters (const BodyID)> bodyToShadingParamsFunc,
std::function<bool (const BodyID)> isBodyVisibleFunc)
const std::function<ShadingParameters (const BodyID)>& bodyToShadingParamsFunc,
const std::function<bool (const BodyID)>& isBodyVisibleFunc)
: forest_(forest), storageID_(storageID), globalBodyStorage_(globalBodyStorage), ccdID_(ccdID),
bodyToShadingParamsFunc_(bodyToShadingParamsFunc),
isBodyVisibleFunc_(isBodyVisibleFunc),
......
......@@ -77,23 +77,23 @@ public:
/*!\name Constructors */
//@{
explicit Raytracer(const shared_ptr<BlockStorage> forest, const BlockDataID storageID,
const shared_ptr<BodyStorage> globalBodyStorage,
explicit Raytracer(const shared_ptr<BlockStorage>& forest, const BlockDataID storageID,
const shared_ptr<BodyStorage>& globalBodyStorage,
const BlockDataID ccdID,
uint16_t pixelsHorizontal, uint16_t pixelsVertical,
real_t fov_vertical, uint16_t antiAliasFactor,
const Vec3& cameraPosition, const Vec3& lookAtPoint, const Vec3& upVector,
const Lighting& lighting,
const Color& backgroundColor = Color(real_t(0.1), real_t(0.1), real_t(0.1)),
std::function<ShadingParameters (const BodyID)> bodyToShadingParamsFunc = defaultBodyTypeDependentShadingParams,
std::function<bool (const BodyID)> isBodyVisibleFunc = defaultIsBodyVisible);
const std::function<ShadingParameters (const BodyID)>& bodyToShadingParamsFunc = defaultBodyTypeDependentShadingParams,
const std::function<bool (const BodyID)>& isBodyVisibleFunc = defaultIsBodyVisible);
explicit Raytracer(const shared_ptr<BlockStorage> forest, const BlockDataID storageID,
const shared_ptr<BodyStorage> globalBodyStorage,
explicit Raytracer(const shared_ptr<BlockStorage>& forest, const BlockDataID storageID,
const shared_ptr<BodyStorage>& globalBodyStorage,
const BlockDataID ccdID,
const Config::BlockHandle& config,
std::function<ShadingParameters (const BodyID)> bodyToShadingParamsFunction = defaultBodyTypeDependentShadingParams,
std::function<bool (const BodyID)> isBodyVisibleFunc = defaultIsBodyVisible);
const std::function<ShadingParameters (const BodyID)>& bodyToShadingParamsFunction = defaultBodyTypeDependentShadingParams,
const std::function<bool (const BodyID)>& isBodyVisibleFunc = defaultIsBodyVisible);
//@}
private:
......
......@@ -51,9 +51,9 @@ private:
uint_t level_;
};
std::unique_ptr<SetupBlockForest> createSetupBlockForest(const math::AABB simulationDomain,
std::unique_ptr<SetupBlockForest> createSetupBlockForest(const math::AABB& simulationDomain,
Vector3<uint_t> blocks,
const Vector3<bool> isPeriodic,
const Vector3<bool>& isPeriodic,
const uint_t numberOfProcesses,
const uint_t initialRefinementLevel)
{
......@@ -90,9 +90,9 @@ std::unique_ptr<SetupBlockForest> createSetupBlockForest(const math::AABB simula
return sforest;
}
shared_ptr<BlockForest> createBlockForest(const math::AABB simulationDomain,
Vector3<uint_t> blocks,
const Vector3<bool> isPeriodic,
shared_ptr<BlockForest> createBlockForest(const math::AABB& simulationDomain,
const Vector3<uint_t>& blocks,
const Vector3<bool>& isPeriodic,
const uint_t numberOfProcesses,
const uint_t initialRefinementLevel)
{
......@@ -106,11 +106,11 @@ shared_ptr<BlockForest> createBlockForest(const math::AABB simulationDomain,
return std::make_shared< BlockForest >( uint_c( MPIManager::instance()->rank() ), *sforest, false );
}
shared_ptr<BlockForest> createBlockForest(const math::AABB simulationDomain,
Vector3<uint_t> blocks,
const Vector3<bool> isPeriodic,
shared_ptr<BlockForest> createBlockForest(const math::AABB& simulationDomain,
const Vector3<uint_t>& blocks,
const Vector3<bool>& isPeriodic,
const bool setupRun,
const std::string sbffile,
const std::string& sbffile,
const uint_t numberOfProcesses,
const uint_t initialRefinementLevel)
{
......
......@@ -31,16 +31,16 @@
namespace walberla {
namespace pe {
shared_ptr<BlockForest> createBlockForest(const math::AABB simulationDomain,
Vector3<uint_t> blocks,
const Vector3<bool> isPeriodic,
shared_ptr<BlockForest> createBlockForest(const math::AABB& simulationDomain,
const Vector3<uint_t>& blocks,
const Vector3<bool>& isPeriodic,
const uint_t numberOfProcesses = uint_c(mpi::MPIManager::instance()->numProcesses()),
const uint_t initialRefinementLevel = uint_t(0));
shared_ptr<BlockForest> createBlockForest(const math::AABB simulationDomain,
Vector3<uint_t> blocks,
const Vector3<bool> isPeriodic,
shared_ptr<BlockForest> createBlockForest(const math::AABB& simulationDomain,
const Vector3<uint_t>& blocks,
const Vector3<bool>& isPeriodic,
const bool setupRun,
const std::string sbffile,
const std::string& sbffile,
const uint_t numberOfProcesses = uint_c(mpi::MPIManager::instance()->numProcesses()),
const uint_t initialRefinementLevel = uint_t(0));
shared_ptr<BlockForest> createBlockForestFromConfig(const Config::BlockHandle& mainConf);
......
......@@ -565,7 +565,7 @@ void initializeVTKOutput( std::map< std::string, SelectableOutputFunction > & ou
* \param configBlockName Name of the block in the configuration that is used to setup the VTK output
*/
//**********************************************************************************************************************
void initializeVTKOutput( std::map< std::string, SelectableOutputFunction > & outputFunctions, RegisterVTKOutputFunction registerVTKOutputFunction,
void initializeVTKOutput( std::map< std::string, SelectableOutputFunction > & outputFunctions, const RegisterVTKOutputFunction& registerVTKOutputFunction,
const shared_ptr< const StructuredBlockStorage > & storage, const shared_ptr< Config > & config,
const std::string & configBlockName )
{
......@@ -575,7 +575,7 @@ void initializeVTKOutput( std::map< std::string, SelectableOutputFunction > & ou
void initializeVTKOutput( std::map< std::string, SelectableOutputFunction > & outputFunctions, RegisterVTKOutputFunction registerVTKOutputFunction,
void initializeVTKOutput( std::map< std::string, SelectableOutputFunction > & outputFunctions, const RegisterVTKOutputFunction& registerVTKOutputFunction,
const shared_ptr< const StructuredBlockStorage > & storage, const Config::BlockHandle & parentBlockHandle,
const std::string & configBlockName )
{
......
......@@ -80,11 +80,11 @@ typedef std::function< void ( std::vector< shared_ptr< BlockCellDataWriterInterf
std::map< std::string, VTKOutput::CellFilter > & filters,
std::map< std::string, VTKOutput::BeforeFunction > & beforeFunctions ) > RegisterVTKOutputFunction;
void initializeVTKOutput( std::map< std::string, SelectableOutputFunction > & outputFunctions, RegisterVTKOutputFunction registerVTKOutputFunction,
void initializeVTKOutput( std::map< std::string, SelectableOutputFunction > & outputFunctions, const RegisterVTKOutputFunction& registerVTKOutputFunction,
const shared_ptr< const StructuredBlockStorage > & storage, const shared_ptr< Config > & config,
const std::string & configBlockName = std::string("VTK") );
void initializeVTKOutput( std::map< std::string, SelectableOutputFunction > & outputFunctions, RegisterVTKOutputFunction registerVTKOutputFunction,
void initializeVTKOutput( std::map< std::string, SelectableOutputFunction > & outputFunctions, const RegisterVTKOutputFunction& registerVTKOutputFunction,
const shared_ptr< const StructuredBlockStorage > & storage, const Config::BlockHandle & parentBlockHandle,
const std::string & configBlockName = std::string("VTK") );
......
......@@ -81,7 +81,7 @@ VTKOutput::VTKOutput( const StructuredBlockStorage & sbs, const std::string & id
VTKOutput::VTKOutput( const shared_ptr< PointDataSource > pds, const std::string & identifier, const uint_t writeFrequency,
VTKOutput::VTKOutput( const shared_ptr< PointDataSource >& pds, const std::string & identifier, const uint_t writeFrequency,
const std::string & baseFolder, const std::string & executionFolder,
const bool continuousNumbering, const bool binary, const bool littleEndian, const bool useMPIIO,
const uint_t initialExecutionCount ) :
......@@ -102,7 +102,7 @@ VTKOutput::VTKOutput( const shared_ptr< PointDataSource > pds, const std::string
VTKOutput::VTKOutput( const shared_ptr< PolylineDataSource > pds, const std::string & identifier, const uint_t writeFrequency,
VTKOutput::VTKOutput( const shared_ptr< PolylineDataSource >& pds, const std::string & identifier, const uint_t writeFrequency,
const std::string & baseFolder, const std::string & executionFolder,
const bool continuousNumbering, const bool binary, const bool littleEndian, const bool useMPIIO,
const uint_t initialExecutionCount ) :
......
......@@ -198,13 +198,13 @@ private:
const uint_t ghostLayers, const bool forcePVTU, const uint_t initialExecutionCount = 0 );
/// creates a VTKOutput object that is supposed to output arbitrary point data
VTKOutput( const shared_ptr< PointDataSource > pds, const std::string & identifier, const uint_t writeFrequency,
VTKOutput( const shared_ptr< PointDataSource >& pds, const std::string & identifier, const uint_t writeFrequency,
const std::string & baseFolder, const std::string & executionFolder,
const bool continuousNumbering, const bool binary, const bool littleEndian, const bool useMPIIO,
const uint_t initialExecutionCount = 0 );
/// creates a VTKOutput object that is supposed to output arbitrary polyline data
VTKOutput( const shared_ptr< PolylineDataSource > pds, const std::string & identifier, const uint_t writeFrequency,
VTKOutput( const shared_ptr< PolylineDataSource >& pds, const std::string & identifier, const uint_t writeFrequency,
const std::string & baseFolder, const std::string & executionFolder,
const bool continuousNumbering, const bool binary, const bool littleEndian, const bool useMPIIO,
const uint_t initialExecutionCount = 0 );
......
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