sampling: Renamed and moved classes from fileFormats

The writer class has been renamed setWriter in order to clarify its
usage. The coordSet and setWriter classes have been moved into the
sampling library, as this fits their usage.
This commit is contained in:
Will Bainbridge
2021-06-17 11:48:09 +01:00
parent 77f3c014bc
commit f4a65fbada
50 changed files with 164 additions and 159 deletions

View File

@ -10,6 +10,7 @@ EXE_INC = \
-I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/fileFormats/lnInclude \
-I$(LIB_SRC)/functionObjects/field/lnInclude \
-I$(LIB_SRC)/sampling/lnInclude
LIB_LIBS = \
-lfiniteVolume \

View File

@ -444,7 +444,7 @@ Foam::functionObjects::sizeDistribution::sizeDistribution
}
}
scalarFormatter_ = writer<scalar>::New("raw");
scalarFormatter_ = setWriter<scalar>::New("raw");
}

View File

@ -76,7 +76,7 @@ SourceFiles
#include "logFiles.H"
#include "populationBalanceModel.H"
#include "writeFile.H"
#include "writer.H"
#include "setWriter.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -135,7 +135,7 @@ protected:
writeFile file_;
//- Output formatter, set to raw
autoPtr<writer<scalar>> scalarFormatter_;
autoPtr<setWriter<scalar>> scalarFormatter_;
//- Reference to populationBalanceModel
const Foam::diameterModels::populationBalanceModel& popBal_;