Scippy

UG

Ubiquity Generator framework

ParaParamSet Class Referenceabstract

class ParaParamSet More...

#include <paraParamSet.h>

+ Inheritance diagram for ParaParamSet:

Public Member Functions

 ParaParamSet ()
 constructor More...
 
 ParaParamSet (size_t nInParaParams)
 constructor More...
 
virtual ~ParaParamSet ()
 destructor More...
 
bool getBoolParamValue (int param)
 

for bool parameters

More...
 
void setBoolParamValue (int param, bool value)
 set bool parameter value More...
 
bool getBoolParamDefaultValue (int param)
 get default value of bool parameter More...
 
void setBoolParamDefaultValue (int param)
 set bool parameter default value More...
 
bool isBoolParamDefaultValue (int param)
 check if bool parameter is default value or not More...
 
int getIntParamValue (int param)
 

for int parameters

More...
 
void setIntParamValue (int param, int value)
 set int parameter value More...
 
int getIntParamDefaultValue (int param)
 get default value of int parameter More...
 
void setIntParamDefaultValue (int param)
 set int parameter default value More...
 
bool isIntParamDefaultValue (int param)
 check if int parameter is default value or not More...
 
long long getLongintParamValue (int param)
 

for long int parameters

More...
 
void setLongintParamValue (int param, long long value)
 set long int parameter value More...
 
long long getLongintParamDefaultValue (int param)
 get default value of long int parameter More...
 
void setLongintParamDefaultValue (int param)
 set long int parameter default value More...
 
bool isLongintParamDefaultValue (int param)
 check if long int parameter is default value or not More...
 
double getRealParamValue (int param)
 

for real parameters

More...
 
void setRealParamValue (int param, double value)
 set real parameter value More...
 
double getRealParamDefaultValue (int param)
 get default value of real parameter More...
 
void setRealParamDefaultValue (int param)
 set real parameter default value More...
 
bool isRealParamDefaultValue (int param)
 check if real parameter is default value or not More...
 
char getCharParamValue (int param)
 

for char parameters

More...
 
void setCharParamValue (int param, char value)
 set char parameter value More...
 
char getCharParamDefaultValue (int param)
 get default value of char parameter More...
 
void setCharParamDefaultValue (int param)
 set char parameter default value More...
 
bool isCharParamDefaultValue (int param)
 check if char parameter is default value or not More...
 
const char * getStringParamValue (int param)
 

for char parameters

More...
 
void setStringParamValue (int param, const char *value)
 set string parameter value More...
 
const char * getStringParamDefaultValue (int param)
 get default value of string parameter More...
 
void setStringParamDefaultValue (int param)
 set string parameter default value More...
 
bool isStringParamDefaultValue (int param)
 check if string parameter is default value or not More...
 
virtual void read (ParaComm *comm, const char *filename)
 read ParaParams from file More...
 
void write (std::ostream *os)
 write ParaParams to output stream More...
 
size_t getParaParamsSize ()
 get parameter table size More...
 
virtual size_t getNumBoolParams ()=0
 get number of bool parameters More...
 
virtual size_t getNumIntParams ()=0
 get number of int parameters More...
 
virtual size_t getNumLongintParams ()=0
 get number of longint parameters More...
 
virtual size_t getNumRealParams ()=0
 get number of real parameters More...
 
virtual size_t getNumCharParams ()=0
 get number of char parameters More...
 
virtual size_t getNumStringParams ()=0
 get number of string parameters More...
 
virtual int bcast (ParaComm *comm, int root)=0
 broadcast ParaParams More...
 

Protected Member Functions

int paramParaseBool (ParaParam *paraParam, char *valuestr)
 parse bool parameter More...
 
int paramParaseInt (ParaParam *paraParam, char *valuestr)
 parse int parameter More...
 
int paramParaseLongint (ParaParam *paraParam, char *valuestr)
 parse long int parameter More...
 
int paramParaseReal (ParaParam *paraParam, char *valuestr)
 parse real parameter More...
 
int paramParaseChar (ParaParam *paraParam, char *valuestr)
 parse real parameter More...
 
int paramParaseString (ParaParam *paraParam, char *valuestr)
 parse real parameter More...
 
int parameterParse (char *line, std::map< std::string, int > &mapStringToId)
 parse parameter (this routine is almost copy from paramset.c of SCIP code) More...
 

Protected Attributes

size_t nParaParams
 number of ParaParams More...
 
ParaParam ** paraParams
 array of ParaParams More...
 

Detailed Description

class ParaParamSet

Definition at line 850 of file paraParamSet.h.

Constructor & Destructor Documentation

◆ ParaParamSet() [1/2]

constructor

Definition at line 927 of file paraParamSet.h.

◆ ParaParamSet() [2/2]

◆ ~ParaParamSet()

virtual ~ParaParamSet ( )
virtual

destructor

Definition at line 943 of file paraParamSet.h.

References comm, and UG::read().

Member Function Documentation

◆ bcast()

virtual int bcast ( ParaComm comm,
int  root 
)
pure virtual

broadcast ParaParams

Returns
always 0 (for future extensions)
Parameters
commcommunicator used
rootroot rank for broadcast

Implemented in ParaParamSetMpi, and ParaParamSetTh.

Referenced by main().

◆ getBoolParamDefaultValue()

bool getBoolParamDefaultValue ( int  param)

get default value of bool parameter

Returns
default bool parameter value
Parameters
parambool parameter id

Definition at line 195 of file paraParamSet.cpp.

References ParaParamBool::getDefaultValue(), ParaParamSet::paraParams, and UG::ParaParamTypeBool.

Referenced by ScipParaSolver::solve().

◆ getBoolParamValue()

bool getBoolParamValue ( int  param)


for bool parameters

get bool parameter value

Returns
value of the bool parameter specified
Parameters
parambool parameter id

Definition at line 174 of file paraParamSet.cpp.

References ParaParamBool::getValue(), ParaParamSet::paraParams, and UG::ParaParamTypeBool.

Referenced by ScipParaDiffSubproblem::addLocalNodeInfo(), BbParaLoadCoordinator::BbParaLoadCoordinator(), BbParaSolver::BbParaSolver(), BbParaLoadCoordinator::changeSearchStrategyOfAllSolversToOriginalSearch(), ScipParaObjCommPointHdlr::checkRootNodeSolvabilityAndSendParaNode(), ScipParaSolver::createSubproblem(), ScipParaSolver::freeSubproblem(), ScipParaObjNodesel::getNBoundChanges(), BbParaSolver::getThresholdValue(), BbParaSolver::isIterativeBreakDownApplied(), ParaCommMpi::lcInit(), ParaCommCPP11::lcInit(), ParaCommPth::lcInit(), main(), BbParaLoadCoordinator::newRacing(), BbParaSolver::notificationIsNecessary(), outputParaParamSet(), outputSolverParams(), BbParaLoadCoordinator::outputTabularSolvingStatus(), ParaLoadCoordinator::ParaLoadCoordinator(), ParaSolver::ParaSolver(), BbParaLoadCoordinator::processRacingRampUpTagCompletionOfCalculation(), BbParaLoadCoordinator::processRacingRampUpTagSolverState(), BbParaLoadCoordinator::processTagCompletionOfCalculation(), BbParaSolver::processTagIncumbentValue(), BbParaLoadCoordinator::processTagSelfSlpitNodeCalcuationState(), BbParaLoadCoordinator::processTagSolution(), BbParaLoadCoordinator::processTagSolverState(), BbParaLoadCoordinator::processTagTask(), ParaLoadCoordinator::processTagTerminated(), BbParaLoadCoordinator::processTagTermStateForInterruption(), BbParaSolver::processTagToken(), ParaParamSet::read(), BbParaSolver::receiveNewTaskAndReactivate(), ScipParaSolver::reinitialize(), BbParaLoadCoordinator::restartRacing(), BbParaLoadCoordinator::run(), BbParaSolver::run(), ScipParaSolver::saveOrgProblemBounds(), ScipParaObjCommPointHdlr::scip_exec(), ScipParaDiffSubproblem::ScipParaDiffSubproblem(), ScipParaObjCommPointHdlr::ScipParaObjCommPointHdlr(), ScipParaSolver::ScipParaSolver(), BbParaSolver::sendCompletionOfCalculation(), BbParaSolver::sendCompletionOfCalculationWithoutSolving(), BbParaLoadCoordinator::sendCutOffValue(), BbParaLoadCoordinator::sendIncumbentValue(), BbParaLoadCoordinator::sendInterruptRequest(), BbParaLoadCoordinator::sendParaTasksToIdleSolvers(), BbParaSolver::sendSolverState(), ScipParaSolver::setOriginalNodeSelectionStrategy(), ScipParaSolver::setRacingParams(), ScipParaSolver::setWinnerRacingParams(), ScipParaSolver::solve(), ParaCommMpi::solverInit(), BbParaLoadCoordinator::terminateAllSolvers(), ParaLoadCoordinator::terminateAllSolvers(), ThreadsTableElement::ThreadsTableElement(), BbParaSolver::waitAckCompletion(), BbParaLoadCoordinator::~BbParaLoadCoordinator(), ScipParaInitiator::~ScipParaInitiator(), and ScipParaSolver::~ScipParaSolver().

◆ getCharParamDefaultValue()

char getCharParamDefaultValue ( int  param)

get default value of char parameter

Returns
default char parameter value
Parameters
paramchar parameter id

Definition at line 411 of file paraParamSet.cpp.

References ParaParamChar::getDefaultValue(), ParaParamSet::paraParams, and UG::ParaParamTypeChar.

◆ getCharParamValue()

char getCharParamValue ( int  param)


for char parameters

get char parameter value

Returns
value of the char parameter specified
Parameters
paramchar parameter id

Definition at line 390 of file paraParamSet.cpp.

References ParaParamChar::getValue(), ParaParamSet::paraParams, and UG::ParaParamTypeChar.

◆ getIntParamDefaultValue()

int getIntParamDefaultValue ( int  param)

get default value of int parameter

Returns
default int parameter value
Parameters
paramint parameter id

Definition at line 249 of file paraParamSet.cpp.

References ParaParamInt::getDefaultValue(), ParaParamSet::paraParams, and UG::ParaParamTypeInt.

◆ getIntParamValue()

int getIntParamValue ( int  param)


for int parameters

get int parameter value

Returns
value of the int parameter specified
Parameters
paramint parameter id

Definition at line 228 of file paraParamSet.cpp.

References ParaParamInt::getValue(), ParaParamSet::paraParams, and UG::ParaParamTypeInt.

Referenced by BbParaLoadCoordinator::BbParaLoadCoordinator(), BbParaSolver::BbParaSolver(), ScipParaSolver::createSubproblem(), ScipParaSolver::freeSubproblem(), BbParaSolver::getAggresivePresolvingDepth(), BbParaSolver::getAggresivePresolvingStopDepth(), BbParaSolver::getBigDualGapSubtreeHandlingStrategy(), BbParaSolver::isAggressivePresolvingSpecified(), BbParaSolver::isRacingRampUp(), BbParaLoadCoordinator::isRacingStage(), BbParaSolver::isRacingStage(), main(), BbParaLoadCoordinator::outputTabularSolvingStatus(), BbParaLoadCoordinator::processRacingRampUpTagCompletionOfCalculation(), BbParaLoadCoordinator::processTagCompletionOfCalculation(), BbParaSolver::processTagRampUp(), BbParaLoadCoordinator::processTagSelfSlpitNodeCalcuationState(), BbParaLoadCoordinator::processTagSolution(), BbParaLoadCoordinator::processTagSolverState(), BbParaLoadCoordinator::processTagTask(), ScipParaSolver::recoverOriginalSettings(), ScipParaSolver::reinitialize(), BbParaLoadCoordinator::restartRacing(), BbParaLoadCoordinator::run(), ScipParaSolver::saveOrgProblemBounds(), ScipParaObjCommPointHdlr::scip_exec(), ScipParaLoadCoordinator::ScipParaLoadCoordinator(), ScipParaObjCommPointHdlr::ScipParaObjCommPointHdlr(), ScipParaSolver::ScipParaSolver(), BbParaLoadCoordinator::sendInterruptRequest(), BbParaLoadCoordinator::sendParaTasksToIdleSolvers(), ScipParaSolver::setRacingParams(), ScipParaSolver::solve(), BbParaSolver::waitMessageIfNecessary(), ParaParamSet::write(), and BbParaLoadCoordinator::~BbParaLoadCoordinator().

◆ getLongintParamDefaultValue()

long long getLongintParamDefaultValue ( int  param)

get default value of long int parameter

Returns
default long int parameter value
Parameters
paramlong int parameter id

Definition at line 303 of file paraParamSet.cpp.

References ParaParamLongint::getDefaultValue(), ParaParamSet::paraParams, and UG::ParaParamTypeLongint.

◆ getLongintParamValue()

long long getLongintParamValue ( int  param)


for long int parameters

get long int parameter value

Returns
value of the long int parameter specified
Parameters
paramlong int parameter id

Definition at line 282 of file paraParamSet.cpp.

References ParaParamLongint::getValue(), ParaParamSet::paraParams, and UG::ParaParamTypeLongint.

◆ getNumBoolParams()

virtual size_t getNumBoolParams ( )
pure virtual

get number of bool parameters

Returns
size of parameter table

Referenced by ParaParamSetMpi::allocateMemory(), and ParaParamSetMpi::freeMemory().

◆ getNumCharParams()

virtual size_t getNumCharParams ( )
pure virtual

get number of char parameters

Returns
size of parameter table

Referenced by ParaParamSetMpi::allocateMemory(), and ParaParamSetMpi::freeMemory().

◆ getNumIntParams()

virtual size_t getNumIntParams ( )
pure virtual

get number of int parameters

Returns
size of parameter table

Referenced by ParaParamSetMpi::allocateMemory(), and ParaParamSetMpi::freeMemory().

◆ getNumLongintParams()

virtual size_t getNumLongintParams ( )
pure virtual

get number of longint parameters

Returns
size of parameter table

Referenced by ParaParamSetMpi::allocateMemory(), and ParaParamSetMpi::freeMemory().

◆ getNumRealParams()

virtual size_t getNumRealParams ( )
pure virtual

get number of real parameters

Returns
size of parameter table

Referenced by ParaParamSetMpi::allocateMemory(), and ParaParamSetMpi::freeMemory().

◆ getNumStringParams()

virtual size_t getNumStringParams ( )
pure virtual

get number of string parameters

Returns
size of parameter table

Referenced by ParaParamSetMpi::allocateMemory(), and ParaParamSetMpi::freeMemory().

◆ getParaParamsSize()

size_t getParaParamsSize ( )

get parameter table size

Returns
size of parameter table

Definition at line 1232 of file paraParamSet.h.

References UG::getNumBoolParams(), UG::getNumCharParams(), UG::getNumIntParams(), UG::getNumLongintParams(), UG::getNumRealParams(), and UG::getNumStringParams().

Referenced by ParaParamSet::read(), and ParaParamSet::write().

◆ getRealParamDefaultValue()

double getRealParamDefaultValue ( int  param)

get default value of real parameter

Returns
default real parameter value
Parameters
paramreal parameter id

Definition at line 357 of file paraParamSet.cpp.

References ParaParamReal::getDefaultValue(), ParaParamSet::paraParams, and UG::ParaParamTypeReal.

◆ getRealParamValue()

◆ getStringParamDefaultValue()

const char * getStringParamDefaultValue ( int  param)

get default value of string parameter

Returns
default string parameter value
Parameters
paramstring parameter id

Definition at line 467 of file paraParamSet.cpp.

References ParaParamString::getDefaultValue(), ParaParamSet::paraParams, and UG::ParaParamTypeString.

◆ getStringParamValue()

◆ isBoolParamDefaultValue()

bool isBoolParamDefaultValue ( int  param)

check if bool parameter is default value or not

Returns
true if bool parameter is default value
Parameters
parambool parameter id

Definition at line 215 of file paraParamSet.cpp.

References ParaParamBool::isDefaultValue(), ParaParamSet::paraParams, and UG::ParaParamTypeBool.

◆ isCharParamDefaultValue()

bool isCharParamDefaultValue ( int  param)

check if char parameter is default value or not

Returns
true if char parameter is default value
Parameters
paramchar parameter id

Definition at line 431 of file paraParamSet.cpp.

References ParaParamChar::isDefaultValue(), ParaParamSet::paraParams, and UG::ParaParamTypeChar.

◆ isIntParamDefaultValue()

bool isIntParamDefaultValue ( int  param)

check if int parameter is default value or not

Returns
true if int parameter is default value
Parameters
paramint parameter id

Definition at line 269 of file paraParamSet.cpp.

References ParaParamInt::isDefaultValue(), ParaParamSet::paraParams, and UG::ParaParamTypeInt.

◆ isLongintParamDefaultValue()

bool isLongintParamDefaultValue ( int  param)

check if long int parameter is default value or not

Returns
true if long int parameter is default value
Parameters
paramlong int parameter id

Definition at line 323 of file paraParamSet.cpp.

References ParaParamLongint::isDefaultValue(), ParaParamSet::paraParams, and UG::ParaParamTypeLongint.

◆ isRealParamDefaultValue()

bool isRealParamDefaultValue ( int  param)

check if real parameter is default value or not

Returns
true if real parameter is default value
Parameters
paramreal parameter id

Definition at line 377 of file paraParamSet.cpp.

References ParaParamReal::isDefaultValue(), ParaParamSet::paraParams, and UG::ParaParamTypeReal.

◆ isStringParamDefaultValue()

bool isStringParamDefaultValue ( int  param)

check if string parameter is default value or not

Returns
true if string parameter is default value
Parameters
paramstring parameter id

Definition at line 487 of file paraParamSet.cpp.

References ParaParamString::isDefaultValue(), ParaParamSet::paraParams, and UG::ParaParamTypeString.

Referenced by ParaCommMpi::lcInit(), ParaCommMpi::solverInit(), and ThreadsTableElement::ThreadsTableElement().

◆ parameterParse()

int parameterParse ( char *  line,
std::map< std::string, int > &  mapStringToId 
)
protected

parse parameter (this routine is almost copy from paramset.c of SCIP code)

Returns
0, if parameter in a line is valid, -1: error

the parameterParse routine is almost copy from paramset.c of SCIP code

Parameters
lineparameter line
mapStringToIdmap of parameter sting to parameter id

Definition at line 674 of file paraParamSet.cpp.

References ParaParamSet::paramParaseBool(), ParaParamSet::paramParaseChar(), ParaParamSet::paramParaseInt(), ParaParamSet::paramParaseLongint(), ParaParamSet::paramParaseReal(), ParaParamSet::paramParaseString(), ParaParamSet::paraParams, UG::ParaParamTypeBool, UG::ParaParamTypeChar, UG::ParaParamTypeInt, UG::ParaParamTypeLongint, UG::ParaParamTypeReal, and UG::ParaParamTypeString.

Referenced by ParaParamSet::read().

◆ paramParaseBool()

int paramParaseBool ( ParaParam paraParam,
char *  valuestr 
)
protected

parse bool parameter

Returns
0, if the bool parameter value is valid, -1: error
Parameters
paraParampointer to ParaParam object
valuestrvalue string

Definition at line 497 of file paraParamSet.cpp.

References ParaParam::getParamName(), and ParaParamBool::setValue().

Referenced by ParaParamSet::parameterParse().

◆ paramParaseChar()

int paramParaseChar ( ParaParam paraParam,
char *  valuestr 
)
protected

parse real parameter

Returns
0, if the real parameter value is valid, -1: error
Parameters
paraParampointer to ParaParam object
valuestrvalue string

Definition at line 613 of file paraParamSet.cpp.

References ParaParamChar::getAllowedValues(), ParaParam::getComment(), ParaParam::getParamName(), OUTPUT_PARAM_VALUE_ERROR, and ParaParamChar::setValue().

Referenced by ParaParamSet::parameterParse().

◆ paramParaseInt()

int paramParaseInt ( ParaParam paraParam,
char *  valuestr 
)
protected

parse int parameter

Returns
0, if the int parameter value is valid, -1: error
Parameters
paraParampointer to ParaParam object
valuestrvalue string

Definition at line 523 of file paraParamSet.cpp.

References ParaParam::getComment(), ParaParamInt::getMaxValue(), ParaParamInt::getMinValue(), ParaParam::getParamName(), OUTPUT_PARAM_VALUE_ERROR, and ParaParamInt::setValue().

Referenced by ParaParamSet::parameterParse().

◆ paramParaseLongint()

int paramParaseLongint ( ParaParam paraParam,
char *  valuestr 
)
protected

parse long int parameter

Returns
0, if the long int parameter value is valid, -1: error
Parameters
paraParampointer to ParaParam object
valuestrvalue string

Definition at line 553 of file paraParamSet.cpp.

References ParaParam::getComment(), ParaParamLongint::getMaxValue(), ParaParamLongint::getMinValue(), ParaParam::getParamName(), OUTPUT_PARAM_VALUE_ERROR, and ParaParamLongint::setValue().

Referenced by ParaParamSet::parameterParse().

◆ paramParaseReal()

int paramParaseReal ( ParaParam paraParam,
char *  valuestr 
)
protected

parse real parameter

Returns
0, if the real parameter value is valid, -1: error
Parameters
paraParampointer to ParaParam object
valuestrvalue string

Definition at line 583 of file paraParamSet.cpp.

References ParaParam::getComment(), ParaParamReal::getMaxValue(), ParaParamReal::getMinValue(), ParaParam::getParamName(), OUTPUT_PARAM_VALUE_ERROR, and ParaParamReal::setValue().

Referenced by ParaParamSet::parameterParse().

◆ paramParaseString()

int paramParaseString ( ParaParam paraParam,
char *  valuestr 
)
protected

parse real parameter

Returns
0, if the real parameter value is valid, -1: error
Parameters
paraParampointer to ParaParam object
valuestrvalue string

Definition at line 645 of file paraParamSet.cpp.

References ParaParam::getParamName(), and ParaParamString::setValue().

Referenced by ParaParamSet::parameterParse().

◆ read()

void read ( ParaComm comm,
const char *  filename 
)
virtual

read ParaParams from file

Parameters
commcommunicator used
filenamereading file name

Definition at line 781 of file paraParamSet.cpp.

References UG::Checkpoint, ParaParamSet::getBoolParamValue(), ParaParamSet::getParaParamsSize(), ParaParamSet::parameterParse(), and ParaParamSet::paraParams.

Referenced by main().

◆ setBoolParamDefaultValue()

void setBoolParamDefaultValue ( int  param)

set bool parameter default value

Parameters
parambool parameter id

Definition at line 205 of file paraParamSet.cpp.

References ParaParamSet::paraParams, UG::ParaParamTypeBool, and ParaParamBool::setDefaultValue().

◆ setBoolParamValue()

void setBoolParamValue ( int  param,
bool  value 
)

set bool parameter value

Parameters
parambool parameter id
valuevalue to be set

Definition at line 184 of file paraParamSet.cpp.

References ParaParamSet::paraParams, UG::ParaParamTypeBool, and ParaParamBool::setValue().

Referenced by BbParaLoadCoordinator::run().

◆ setCharParamDefaultValue()

void setCharParamDefaultValue ( int  param)

set char parameter default value

Parameters
paramchar parameter id

Definition at line 421 of file paraParamSet.cpp.

References ParaParamSet::paraParams, UG::ParaParamTypeChar, and ParaParamChar::setDefaultValue().

◆ setCharParamValue()

void setCharParamValue ( int  param,
char  value 
)

set char parameter value

Parameters
paramchar parameter id
valuevalue to be set

Definition at line 400 of file paraParamSet.cpp.

References ParaParamSet::paraParams, UG::ParaParamTypeChar, and ParaParamChar::setValue().

◆ setIntParamDefaultValue()

void setIntParamDefaultValue ( int  param)

set int parameter default value

Parameters
paramint parameter id

Definition at line 259 of file paraParamSet.cpp.

References ParaParamSet::paraParams, UG::ParaParamTypeInt, and ParaParamInt::setDefaultValue().

◆ setIntParamValue()

void setIntParamValue ( int  param,
int  value 
)

set int parameter value

Parameters
paramint parameter id
valuevalue to be set

Definition at line 238 of file paraParamSet.cpp.

References ParaParamSet::paraParams, UG::ParaParamTypeInt, and ParaParamInt::setValue().

Referenced by BbParaSolver::BbParaSolver(), main(), BbParaLoadCoordinator::run(), and BbParaLoadCoordinator::sendParaTasksToIdleSolvers().

◆ setLongintParamDefaultValue()

void setLongintParamDefaultValue ( int  param)

set long int parameter default value

Parameters
paramlong int parameter id

Definition at line 313 of file paraParamSet.cpp.

References ParaParamSet::paraParams, UG::ParaParamTypeLongint, and ParaParamLongint::setDefaultValue().

◆ setLongintParamValue()

void setLongintParamValue ( int  param,
long long  value 
)

set long int parameter value

Parameters
paramlong int parameter id
valuevalue to be set

Definition at line 292 of file paraParamSet.cpp.

References ParaParamSet::paraParams, UG::ParaParamTypeLongint, and ParaParamLongint::setValue().

◆ setRealParamDefaultValue()

void setRealParamDefaultValue ( int  param)

set real parameter default value

Parameters
paramreal parameter id

Definition at line 367 of file paraParamSet.cpp.

References ParaParamSet::paraParams, UG::ParaParamTypeReal, and ParaParamReal::setDefaultValue().

◆ setRealParamValue()

void setRealParamValue ( int  param,
double  value 
)

set real parameter value

Parameters
paramreal parameter id
valuevalue to be set

Definition at line 346 of file paraParamSet.cpp.

References ParaParamSet::paraParams, UG::ParaParamTypeReal, and ParaParamReal::setValue().

Referenced by BbParaLoadCoordinator::BbParaLoadCoordinator(), BbParaSolver::BbParaSolver(), BbParaSolver::notificationIsNecessary(), and BbParaSolver::waitAckCompletion().

◆ setStringParamDefaultValue()

void setStringParamDefaultValue ( int  param)

set string parameter default value

Parameters
paramstring parameter id

Definition at line 477 of file paraParamSet.cpp.

References ParaParamSet::paraParams, UG::ParaParamTypeString, and ParaParamString::setDefaultValue().

◆ setStringParamValue()

void setStringParamValue ( int  param,
const char *  value 
)

set string parameter value

Parameters
paramstring parameter id
valuevalue to be set

Definition at line 454 of file paraParamSet.cpp.

References ParaParamSet::paraParams, UG::ParaParamTypeString, and ParaParamString::setValue().

◆ write()

Member Data Documentation

◆ nParaParams

size_t nParaParams
protected

number of ParaParams

Definition at line 855 of file paraParamSet.h.

Referenced by ParaParamSetMpi::allocateMemory(), ParaParamSetMpi::createDiffParams(), and ParaParamSet::ParaParamSet().

◆ paraParams

ParaParam** paraParams
protected