change in the type name of timeValue and sample dictionaries for settingsDict and domain

This commit is contained in:
Hamidreza
2025-05-15 12:00:13 +03:30
parent ab856e1df2
commit bf0197f643
30 changed files with 300 additions and 158 deletions

View File

@ -192,7 +192,7 @@ postSimulationFieldsDataBase::postSimulationFieldsDataBase
systemControl &control,
const dictionary& postDict,
bool inSimulation,
timeValue startTime
TimeValueType startTime
)
:
fieldsDataBase(control, postDict, inSimulation, startTime),
@ -231,14 +231,14 @@ const pointStructure& postSimulationFieldsDataBase::pStruct()const
return pStructPtr_();
}
timeValue postSimulationFieldsDataBase::getNextTimeFolder() const
TimeValueType postSimulationFieldsDataBase::getNextTimeFolder() const
{
return allValidFolders_.nextTime();
}
timeValue postSimulationFieldsDataBase::setToNextTimeFolder()
TimeValueType postSimulationFieldsDataBase::setToNextTimeFolder()
{
timeValue nextTime = allValidFolders_.nextTime();
TimeValueType nextTime = allValidFolders_.nextTime();
if(nextTime < 0.0) return nextTime;
allValidFolders_++;
@ -254,9 +254,9 @@ timeValue postSimulationFieldsDataBase::setToNextTimeFolder()
return nextTime;
}
timeValue postSimulationFieldsDataBase::skipNextTimeFolder()
TimeValueType postSimulationFieldsDataBase::skipNextTimeFolder()
{
timeValue nextTime = allValidFolders_.nextTime();
TimeValueType nextTime = allValidFolders_.nextTime();
if(nextTime < 0.0) return nextTime;
allValidFolders_++;

View File

@ -71,7 +71,7 @@ public:
systemControl& control,
const dictionary& postDict,
bool inSimulation,
timeValue startTime);
TimeValueType startTime);
~postSimulationFieldsDataBase() override = default;
@ -84,11 +84,11 @@ public:
const pointStructure& pStruct()const override;
timeValue getNextTimeFolder()const override;
TimeValueType getNextTimeFolder()const override;
timeValue setToNextTimeFolder() override;
TimeValueType setToNextTimeFolder() override;
timeValue skipNextTimeFolder() override;
TimeValueType skipNextTimeFolder() override;
};

View File

@ -67,7 +67,7 @@ int main(int argc, char** argv )
#include "initialize_Control.hpp"
// time in command line
pFlow::combinedRange<pFlow::timeValue> validRange;
pFlow::combinedRange<pFlow::TimeValueType> validRange;
if( cmds.count("--time") )
{
@ -86,7 +86,7 @@ int main(int argc, char** argv )
validRange.addIntervalRange(1.0e-7, 1.0e+15);
}
pFlow::timeValue nextTime = validRange.minVal();
pFlow::TimeValueType nextTime = validRange.minVal();
if(nextTime <0.0)
{