Scippy

UG

Ubiquity Generator framework

ScipDiffParamSetMpi Class Reference

#include <scipDiffParamSetMpi.h>

Inheritance diagram for ScipDiffParamSetMpi:
ScipDiffParamSet

Public Member Functions

 ScipDiffParamSetMpi ()
 
 ScipDiffParamSetMpi (SCIP *scip)
 
 ~ScipDiffParamSetMpi ()
 
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

MPI_Datatype createDatatype1 ()
 
MPI_Datatype createDatatype2 (bool memAllocNecessary)
 

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 48 of file scipDiffParamSetMpi.h.

Constructor & Destructor Documentation

◆ ScipDiffParamSetMpi() [1/2]

constructor

Definition at line 58 of file scipDiffParamSetMpi.h.

◆ ScipDiffParamSetMpi() [2/2]

ScipDiffParamSetMpi ( SCIP *  scip)

constructor with scip

Definition at line 64 of file scipDiffParamSetMpi.h.

◆ ~ScipDiffParamSetMpi()

destructor

Definition at line 72 of file scipDiffParamSetMpi.h.

Member Function Documentation

◆ bcast()

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

◆ createDatatype1()

◆ createDatatype2()

◆ 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 365 of file scipDiffParamSetMpi.cpp.

References comm, ScipDiffParamSetMpi::createDatatype1(), ScipDiffParamSetMpi::createDatatype2(), DEF_PARA_COMM, MPI_CALL, ScipDiffParamSet::numBoolParams, PARA_COMM_CALL, UG::TagSolverDiffParamSet, and ParaSCIP::TagSolverDiffParamSet1.

◆ send()

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