ColPack
|
class JacobianRecovery2D in group5. More...
#include <JacobianRecovery2D.h>
Public Member Functions | |
int | DirectRecover_RowCompressedFormat (BipartiteGraphBicoloringInterface *g, double **dp2_RowCompressedMatrix, double **dp2_ColumnCompressedMatrix, unsigned int **uip2_JacobianSparsityPattern, double ***dp3_JacobianValue) |
A routine for recovering a Jacobian from a Star-Bicoloring based compressed representation. | |
int | DirectRecover_RowCompressedFormat_unmanaged (BipartiteGraphBicoloringInterface *g, double **dp2_RowCompressedMatrix, double **dp2_ColumnCompressedMatrix, unsigned int **uip2_JacobianSparsityPattern, double ***dp3_JacobianValue) |
Same as DirectRecover_RowCompressedFormat(), except that the output is NOT managed by ColPack. | |
int | DirectRecover_RowCompressedFormat_usermem (BipartiteGraphBicoloringInterface *g, double **dp2_RowCompressedMatrix, double **dp2_ColumnCompressedMatrix, unsigned int **uip2_JacobianSparsityPattern, double ***dp3_JacobianValue) |
Same as DirectRecover_RowCompressedFormat_unmanaged(), except that memory allocation for output vector(s) is done by user. | |
int | DirectRecover_CoordinateFormat (BipartiteGraphBicoloringInterface *g, double **dp2_RowCompressedMatrix, double **dp2_ColumnCompressedMatrix, unsigned int **uip2_JacobianSparsityPattern, unsigned int **ip2_RowIndex, unsigned int **ip2_ColumnIndex, double **dp2_JacobianValue) |
A routine for recovering a Jacobian from a Star-Bicoloring based compressed representation. | |
int | DirectRecover_CoordinateFormat_unmanaged (BipartiteGraphBicoloringInterface *g, double **dp2_RowCompressedMatrix, double **dp2_ColumnCompressedMatrix, unsigned int **uip2_JacobianSparsityPattern, unsigned int **ip2_RowIndex, unsigned int **ip2_ColumnIndex, double **dp2_JacobianValue) |
Same as DirectRecover_CoordinateFormat(), except that the output is NOT managed by ColPack. | |
int | DirectRecover_CoordinateFormat_usermem (BipartiteGraphBicoloringInterface *g, double **dp2_RowCompressedMatrix, double **dp2_ColumnCompressedMatrix, unsigned int **uip2_JacobianSparsityPattern, unsigned int **ip2_RowIndex, unsigned int **ip2_ColumnIndex, double **dp2_JacobianValue) |
Same as DirectRecover_CoordinateFormat_unmanaged(), except that memory allocation for output vector(s) is done by user. | |
int | DirectRecover_SparseSolversFormat (BipartiteGraphBicoloringInterface *g, double **dp2_RowCompressedMatrix, double **dp2_ColumnCompressedMatrix, unsigned int **uip2_JacobianSparsityPattern, unsigned int **ip2_RowIndex, unsigned int **ip2_ColumnIndex, double **dp2_JacobianValue) |
A routine for recovering a Jacobian from a Star-Bicoloring based compressed representation. | |
int | DirectRecover_SparseSolversFormat_unmanaged (BipartiteGraphBicoloringInterface *g, double **dp2_RowCompressedMatrix, double **dp2_ColumnCompressedMatrix, unsigned int **uip2_JacobianSparsityPattern, unsigned int **ip2_RowIndex, unsigned int **ip2_ColumnIndex, double **dp2_JacobianValue) |
Same as DirectRecover_SparseSolversFormat(), except that the output is NOT managed by ColPack. | |
int | DirectRecover_SparseSolversFormat_usermem (BipartiteGraphBicoloringInterface *g, double **dp2_RowCompressedMatrix, double **dp2_ColumnCompressedMatrix, unsigned int **uip2_JacobianSparsityPattern, unsigned int **ip2_RowIndex, unsigned int **ip2_ColumnIndex, double **dp2_JacobianValue) |
Same as DirectRecover_SparseSolversFormat_unmanaged(), except that memory allocation for output vector(s) is done by user. |
class JacobianRecovery2D in group5.
Definition at line 31 of file JacobianRecovery2D.h.
int ColPack::JacobianRecovery2D::DirectRecover_CoordinateFormat | ( | BipartiteGraphBicoloringInterface * | g, |
double ** | dp2_RowCompressedMatrix, | ||
double ** | dp2_ColumnCompressedMatrix, | ||
unsigned int ** | uip2_JacobianSparsityPattern, | ||
unsigned int ** | ip2_RowIndex, | ||
unsigned int ** | ip2_ColumnIndex, | ||
double ** | dp2_JacobianValue | ||
) |
A routine for recovering a Jacobian from a Star-Bicoloring based compressed representation.
Precondition:
Return value: size of (*ip2_RowIndex) array
Return by recovery routine: three vectors in "Coordinate Format" (zero-based indexing) http://www.intel.com/software/products/mkl/docs/webhelp/appendices/mkl_appA_SMSF.html#mkl_appA_SMSF_5
The memory allocated for these 3 output vectors are managed by ColPack. The memory will be deallocated when this function is called again or when the Recovery ojbect is deallocated.
Definition at line 362 of file JacobianRecovery2D.cpp.
References ColPack::BipartiteGraphCore::GetRowVertexCount().
int ColPack::JacobianRecovery2D::DirectRecover_CoordinateFormat_unmanaged | ( | BipartiteGraphBicoloringInterface * | g, |
double ** | dp2_RowCompressedMatrix, | ||
double ** | dp2_ColumnCompressedMatrix, | ||
unsigned int ** | uip2_JacobianSparsityPattern, | ||
unsigned int ** | ip2_RowIndex, | ||
unsigned int ** | ip2_ColumnIndex, | ||
double ** | dp2_JacobianValue | ||
) |
Same as DirectRecover_CoordinateFormat(), except that the output is NOT managed by ColPack.
Notes:
Definition at line 348 of file JacobianRecovery2D.cpp.
References _FALSE, and ColPack::BipartiteGraphCore::GetEdgeCount().
int ColPack::JacobianRecovery2D::DirectRecover_CoordinateFormat_usermem | ( | BipartiteGraphBicoloringInterface * | g, |
double ** | dp2_RowCompressedMatrix, | ||
double ** | dp2_ColumnCompressedMatrix, | ||
unsigned int ** | uip2_JacobianSparsityPattern, | ||
unsigned int ** | ip2_RowIndex, | ||
unsigned int ** | ip2_ColumnIndex, | ||
double ** | dp2_JacobianValue | ||
) |
Same as DirectRecover_CoordinateFormat_unmanaged(), except that memory allocation for output vector(s) is done by user.
Notes:
Definition at line 276 of file JacobianRecovery2D.cpp.
References _FALSE, free_2DMatrix(), ColPack::BipartiteGraphBicoloring::GetLeftVertexColors(), ColPack::BipartiteGraphBicoloring::GetRightVertexColorCount(), ColPack::BipartiteGraphBicoloring::GetRightVertexColors_Transformed(), ColPack::BipartiteGraphBicoloring::GetRightVertexDefaultColor(), and ColPack::BipartiteGraphCore::GetRowVertexCount().
int ColPack::JacobianRecovery2D::DirectRecover_RowCompressedFormat | ( | BipartiteGraphBicoloringInterface * | g, |
double ** | dp2_RowCompressedMatrix, | ||
double ** | dp2_ColumnCompressedMatrix, | ||
unsigned int ** | uip2_JacobianSparsityPattern, | ||
double *** | dp3_JacobianValue | ||
) |
A routine for recovering a Jacobian from a Star-Bicoloring based compressed representation.
Parameter:
Precondition:
Postcondition:
Return value: size of (*dp3_JacobianValue) array
About input parameters:
Row Compressed Format for dp3_JacobianValue:
Algorithm: Basically the combination of RecoverForPD2RowWise() (for dp2_RowCompressedMatrix) and RecoverForPD2ColumnWise() (for dp2_ColumnCompressedMatrix) in BipartiteGraphPartialColoringInterface class
Definition at line 117 of file JacobianRecovery2D.cpp.
References ColPack::BipartiteGraphCore::GetRowVertexCount().
Referenced by main().
int ColPack::JacobianRecovery2D::DirectRecover_RowCompressedFormat_unmanaged | ( | BipartiteGraphBicoloringInterface * | g, |
double ** | dp2_RowCompressedMatrix, | ||
double ** | dp2_ColumnCompressedMatrix, | ||
unsigned int ** | uip2_JacobianSparsityPattern, | ||
double *** | dp3_JacobianValue | ||
) |
Same as DirectRecover_RowCompressedFormat(), except that the output is NOT managed by ColPack.
Notes:
Definition at line 96 of file JacobianRecovery2D.cpp.
References _FALSE, and ColPack::BipartiteGraphCore::GetRowVertexCount().
Referenced by main().
int ColPack::JacobianRecovery2D::DirectRecover_RowCompressedFormat_usermem | ( | BipartiteGraphBicoloringInterface * | g, |
double ** | dp2_RowCompressedMatrix, | ||
double ** | dp2_ColumnCompressedMatrix, | ||
unsigned int ** | uip2_JacobianSparsityPattern, | ||
double *** | dp3_JacobianValue | ||
) |
Same as DirectRecover_RowCompressedFormat_unmanaged(), except that memory allocation for output vector(s) is done by user.
Notes:
Definition at line 28 of file JacobianRecovery2D.cpp.
References _FALSE, free_2DMatrix(), ColPack::BipartiteGraphBicoloring::GetLeftVertexColors(), ColPack::BipartiteGraphBicoloring::GetRightVertexColorCount(), ColPack::BipartiteGraphBicoloring::GetRightVertexColors_Transformed(), ColPack::BipartiteGraphBicoloring::GetRightVertexDefaultColor(), and ColPack::BipartiteGraphCore::GetRowVertexCount().
Referenced by main().
int ColPack::JacobianRecovery2D::DirectRecover_SparseSolversFormat | ( | BipartiteGraphBicoloringInterface * | g, |
double ** | dp2_RowCompressedMatrix, | ||
double ** | dp2_ColumnCompressedMatrix, | ||
unsigned int ** | uip2_JacobianSparsityPattern, | ||
unsigned int ** | ip2_RowIndex, | ||
unsigned int ** | ip2_ColumnIndex, | ||
double ** | dp2_JacobianValue | ||
) |
A routine for recovering a Jacobian from a Star-Bicoloring based compressed representation.
Precondition:
Return value: size of (*ip2_RowIndex) array
Return by recovery routine: three vectors in "Storage Formats for the Direct Sparse Solvers" (one-based indexing) http://software.intel.com/sites/products/documentation/hpc/mkl/webhelp/appendices/mkl_appA_SMSF.html#mkl_appA_SMSF_1
The memory allocated for these 3 output vectors are managed by ColPack. The memory will be deallocated when this function is called again or when the Recovery ojbect is deallocated.
Definition at line 255 of file JacobianRecovery2D.cpp.
References ColPack::BipartiteGraphCore::GetRowVertexCount().
int ColPack::JacobianRecovery2D::DirectRecover_SparseSolversFormat_unmanaged | ( | BipartiteGraphBicoloringInterface * | g, |
double ** | dp2_RowCompressedMatrix, | ||
double ** | dp2_ColumnCompressedMatrix, | ||
unsigned int ** | uip2_JacobianSparsityPattern, | ||
unsigned int ** | ip2_RowIndex, | ||
unsigned int ** | ip2_ColumnIndex, | ||
double ** | dp2_JacobianValue | ||
) |
Same as DirectRecover_SparseSolversFormat(), except that the output is NOT managed by ColPack.
Notes:
Definition at line 227 of file JacobianRecovery2D.cpp.
References _FALSE, ColPack::BipartiteGraphCore::GetColumnIndices(), ColPack::BipartiteGraphCore::GetRowVertexCount(), and ColPack::BipartiteGraphCore::GetRowVertices().
int ColPack::JacobianRecovery2D::DirectRecover_SparseSolversFormat_usermem | ( | BipartiteGraphBicoloringInterface * | g, |
double ** | dp2_RowCompressedMatrix, | ||
double ** | dp2_ColumnCompressedMatrix, | ||
unsigned int ** | uip2_JacobianSparsityPattern, | ||
unsigned int ** | ip2_RowIndex, | ||
unsigned int ** | ip2_ColumnIndex, | ||
double ** | dp2_JacobianValue | ||
) |
Same as DirectRecover_SparseSolversFormat_unmanaged(), except that memory allocation for output vector(s) is done by user.
Notes:
Definition at line 136 of file JacobianRecovery2D.cpp.
References _FALSE, free_2DMatrix(), ColPack::BipartiteGraphCore::GetEdgeCount(), ColPack::BipartiteGraphBicoloring::GetLeftVertexColors(), ColPack::BipartiteGraphBicoloring::GetRightVertexColorCount(), ColPack::BipartiteGraphBicoloring::GetRightVertexColors_Transformed(), ColPack::BipartiteGraphBicoloring::GetRightVertexDefaultColor(), and ColPack::BipartiteGraphCore::GetRowVertexCount().