mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Main: mark some members protected
to enable subclassing
This commit is contained in:
@@ -289,6 +289,7 @@ private:
|
|||||||
return flowMain<TypeTag>(argc_, argv_, outputCout_, outputFiles_);
|
return flowMain<TypeTag>(argc_, argv_, outputCout_, outputFiles_);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected:
|
||||||
/// \brief Initialize
|
/// \brief Initialize
|
||||||
/// \param exitCode The exitCode of the program.
|
/// \param exitCode The exitCode of the program.
|
||||||
///
|
///
|
||||||
@@ -447,6 +448,9 @@ private:
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void setupVanguard();
|
||||||
|
|
||||||
|
private:
|
||||||
// This function is an extreme special case, if the program has been invoked
|
// This function is an extreme special case, if the program has been invoked
|
||||||
// *exactly* as:
|
// *exactly* as:
|
||||||
//
|
//
|
||||||
@@ -705,8 +709,6 @@ private:
|
|||||||
std::string_view moduleVersion,
|
std::string_view moduleVersion,
|
||||||
std::string_view compileTimestamp);
|
std::string_view compileTimestamp);
|
||||||
|
|
||||||
void setupVanguard();
|
|
||||||
|
|
||||||
static int getNumThreads()
|
static int getNumThreads()
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -751,11 +753,14 @@ private:
|
|||||||
void setupDamaris(const std::string& outputDir);
|
void setupDamaris(const std::string& outputDir);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
protected:
|
||||||
int argc_{0};
|
int argc_{0};
|
||||||
char** argv_{nullptr};
|
char** argv_{nullptr};
|
||||||
bool ownMPI_{true}; //!< True if we "own" MPI and should init / finalize
|
|
||||||
bool outputCout_{false};
|
bool outputCout_{false};
|
||||||
bool outputFiles_{false};
|
bool outputFiles_{false};
|
||||||
|
|
||||||
|
private:
|
||||||
|
bool ownMPI_{true}; //!< True if we "own" MPI and should init / finalize
|
||||||
double setupTime_{0.0};
|
double setupTime_{0.0};
|
||||||
std::string deckFilename_{};
|
std::string deckFilename_{};
|
||||||
std::string flowProgName_{};
|
std::string flowProgName_{};
|
||||||
|
|||||||
Reference in New Issue
Block a user