Scippy

UG

Ubiquity Generator framework

ScipDiffParamSetTh Class Reference

#include <scipDiffParamSetTh.h>

Inheritance diagram for ScipDiffParamSetTh:
ScipDiffParamSet

Public Member Functions

 ScipDiffParamSetTh ()
 
 ScipDiffParamSetTh (SCIP *scip)
 
 ~ScipDiffParamSetTh ()
 
ScipDiffParamSetThclone ()
 
int bcast (UG::ParaComm *comm, int root)
 
int send (UG::ParaComm *comm, int destination)
 
int receive (UG::ParaComm *comm, int source)
 
- Public Member Functions inherited from ScipDiffParamSet
 ScipDiffParamSet ()
 
 ScipDiffParamSet (SCIP *scip)
 
virtual ~ScipDiffParamSet ()
 
void setParametersInScip (SCIP *scip)
 
int nDiffParams ()
 
bool doesContainRealParam (char *string)
 
std::string toString ()
 
virtual int bcast (UG::ParaComm *comm, int root)=0
 
virtual int send (UG::ParaComm *comm, int destination)=0
 
virtual int receive (UG::ParaComm *comm, int source)=0
 
void write (gzstream::ogzstream &out)
 
bool read (UG::ParaComm *comm, gzstream::igzstream &in)
 

Private Member Functions

ScipDiffParamSetThcreateDatatype ()
 
void setValues (ScipDiffParamSetTh *from)
 

Additional Inherited Members

- Protected Member Functions inherited from ScipDiffParamSet
void allocateMemoty ()
 
- Protected Attributes inherited from ScipDiffParamSet
int numBoolParams
 
size_t boolParamNamesSize
 
char * boolParamNames
 
unsigned int * boolParamValues
 
int numIntParams
 
size_t intParamNamesSize
 
char * intParamNames
 
int * intParamValues
 
int numLongintParams
 
size_t longintParamNamesSize
 
char * longintParamNames
 
long long * longintParamValues
 
int numRealParams
 
size_t realParamNamesSize
 
char * realParamNames
 
double * realParamValues
 
int numCharParams
 
size_t charParamNamesSize
 
char * charParamNames
 
char * charParamValues
 
int numStringParams
 
size_t stringParamNamesSize
 
char * stringParamNames
 
size_t stringParamValuesSize
 
char * stringParamValues
 

Detailed Description

ScipDiffParamSet class

Definition at line 47 of file scipDiffParamSetTh.h.

Constructor & Destructor Documentation

◆ ScipDiffParamSetTh() [1/2]

constructor

Definition at line 57 of file scipDiffParamSetTh.h.

Referenced by ScipDiffParamSetTh::clone().

◆ ScipDiffParamSetTh() [2/2]

ScipDiffParamSetTh ( SCIP *  scip)

constructor with scip

Definition at line 63 of file scipDiffParamSetTh.h.

◆ ~ScipDiffParamSetTh()

destructor

Definition at line 71 of file scipDiffParamSetTh.h.

Member Function Documentation

◆ bcast()

int bcast ( UG::ParaComm comm,
int  root 
)
virtual

broadcast scipDiffParamSet

send solution data to the rank

Implements ScipDiffParamSet.

Definition at line 250 of file scipDiffParamSetTh.cpp.

References comm, ScipDiffParamSetTh::createDatatype(), DEF_PARA_COMM, PARA_COMM_CALL, UG::ParaSolverDiffParamType, ScipDiffParamSetTh::setValues(), and UG::TagSolverDiffParamSet.

◆ clone()

◆ createDatatype()

ScipDiffParamSetTh * createDatatype ( )
private

create datatype

create scipDiffParamSetPreType

Definition at line 47 of file scipDiffParamSetTh.cpp.

References ScipDiffParamSetTh::clone().

Referenced by ScipDiffParamSetTh::bcast(), and ScipDiffParamSetTh::send().

◆ receive()

int receive ( UG::ParaComm comm,
int  source 
)
virtual

receive scipDiffParamSet from the source rank

receive solution data from the source rank

Implements ScipDiffParamSet.

Definition at line 302 of file scipDiffParamSetTh.cpp.

References comm, DEF_PARA_COMM, PARA_COMM_CALL, UG::ParaSolverDiffParamType, ScipDiffParamSetTh::setValues(), and UG::TagSolverDiffParamSet.

◆ send()

int send ( UG::ParaComm comm,
int  dest 
)
virtual

send scipDiffParamSet to the rank

send solution data to the rank

Implements ScipDiffParamSet.

Definition at line 286 of file scipDiffParamSetTh.cpp.

References comm, ScipDiffParamSetTh::createDatatype(), DEF_PARA_COMM, PARA_COMM_CALL, UG::ParaSolverDiffParamType, and UG::TagSolverDiffParamSet.

◆ setValues()