ColPack
|
class JacobianRecovery1D in group5. More...
#include <JacobianRecovery1D.h>
Public Member Functions | |
int | RecoverD2Row_RowCompressedFormat (BipartiteGraphPartialColoringInterface *g, double **dp2_CompressedMatrix, unsigned int **uip2_JacobianSparsityPattern, double ***dp3_JacobianValue) |
A routine for recovering a Jacobian from a "Row-wise Distance 2 coloring"-based compressed representation. | |
int | RecoverD2Row_RowCompressedFormat_unmanaged (BipartiteGraphPartialColoringInterface *g, double **dp2_CompressedMatrix, unsigned int **uip2_JacobianSparsityPattern, double ***dp3_JacobianValue) |
Same as RecoverD2Row_RowCompressedFormat(), except that the output is NOT managed by ColPack. | |
int | RecoverD2Row_RowCompressedFormat_usermem (BipartiteGraphPartialColoringInterface *g, double **dp2_CompressedMatrix, unsigned int **uip2_JacobianSparsityPattern, double ***dp3_JacobianValue) |
Same as RecoverD2Row_RowCompressedFormat_unmanaged(), except that memory allocation for output vector(s) is done by user. | |
int | RecoverD2Row_SparseSolversFormat (BipartiteGraphPartialColoringInterface *g, double **dp2_CompressedMatrix, unsigned int **uip2_JacobianSparsityPattern, unsigned int **ip2_RowIndex, unsigned int **ip2_ColumnIndex, double **dp2_JacobianValue) |
A routine for recovering a Jacobian from a "Row-wise Distance 2 coloring"-based compressed representation. | |
int | RecoverD2Row_SparseSolversFormat_unmanaged (BipartiteGraphPartialColoringInterface *g, double **dp2_CompressedMatrix, unsigned int **uip2_JacobianSparsityPattern, unsigned int **ip2_RowIndex, unsigned int **ip2_ColumnIndex, double **dp2_JacobianValue) |
Same as RecoverD2Row_SparseSolversFormat(), except that the output is NOT managed by ColPack. | |
int | RecoverD2Row_SparseSolversFormat_usermem (BipartiteGraphPartialColoringInterface *g, double **dp2_CompressedMatrix, unsigned int **uip2_JacobianSparsityPattern, unsigned int **ip2_RowIndex, unsigned int **ip2_ColumnIndex, double **dp2_JacobianValue) |
Same as RecoverD2Row_SparseSolversFormat_usermem(), except that memory allocation for output vector(s) is done by user. | |
int | RecoverD2Row_CoordinateFormat (BipartiteGraphPartialColoringInterface *g, double **dp2_CompressedMatrix, unsigned int **uip2_JacobianSparsityPattern, unsigned int **ip2_RowIndex, unsigned int **ip2_ColumnIndex, double **dp2_JacobianValue) |
A routine for recovering a Jacobian from a "Row-wise Distance 2 coloring"-based compressed representation. | |
int | RecoverD2Row_CoordinateFormat_OMP (BipartiteGraphPartialColoringInterface *g, double **dp2_CompressedMatrix, unsigned int **uip2_JacobianSparsityPattern, unsigned int **ip2_RowIndex, unsigned int **ip2_ColumnIndex, double **dp2_JacobianValue) |
int | RecoverD2Row_CoordinateFormat_unmanaged (BipartiteGraphPartialColoringInterface *g, double **dp2_CompressedMatrix, unsigned int **uip2_JacobianSparsityPattern, unsigned int **ip2_RowIndex, unsigned int **ip2_ColumnIndex, double **dp2_JacobianValue) |
Same as RecoverD2Row_CoordinateFormat(), except that the output is NOT managed by ColPack. | |
int | RecoverD2Row_CoordinateFormat_unmanaged_OMP (BipartiteGraphPartialColoringInterface *g, double **dp2_CompressedMatrix, unsigned int **uip2_JacobianSparsityPattern, unsigned int **ip2_RowIndex, unsigned int **ip2_ColumnIndex, double **dp2_JacobianValue) |
int | RecoverD2Row_CoordinateFormat_usermem_serial (BipartiteGraphPartialColoringInterface *g, double **dp2_CompressedMatrix, unsigned int **uip2_JacobianSparsityPattern, unsigned int **ip2_RowIndex, unsigned int **ip2_ColumnIndex, double **dp2_JacobianValue) |
Same as RecoverD2Row_CoordinateFormat_unmanaged(), except that memory allocation for output vector(s) is done by user. (OpenMP enabled) | |
int | RecoverD2Row_CoordinateFormat_usermem (BipartiteGraphPartialColoringInterface *g, double **dp2_CompressedMatrix, unsigned int **uip2_JacobianSparsityPattern, unsigned int **ip2_RowIndex, unsigned int **ip2_ColumnIndex, double **dp2_JacobianValue) |
int | RecoverD2Cln_RowCompressedFormat (BipartiteGraphPartialColoringInterface *g, double **dp2_CompressedMatrix, unsigned int **uip2_JacobianSparsityPattern, double ***dp3_JacobianValue) |
A routine for recovering a Jacobian from a "Column-wise Distance 2 coloring"-based compressed representation. | |
int | RecoverD2Cln_ADICFormat (BipartiteGraphPartialColoringInterface *g, double **dp2_CompressedMatrix, std::list< std::set< int > > &lsi_SparsityPattern, std::list< std::vector< double > > &lvd_NewValue) |
int | RecoverD2Cln_RowCompressedFormat_unmanaged (BipartiteGraphPartialColoringInterface *g, double **dp2_CompressedMatrix, unsigned int **uip2_JacobianSparsityPattern, double ***dp3_JacobianValue) |
Same as RecoverD2Cln_RowCompressedFormat(), except that the output is NOT managed by ColPack. | |
int | RecoverD2Cln_RowCompressedFormat_usermem (BipartiteGraphPartialColoringInterface *g, double **dp2_CompressedMatrix, unsigned int **uip2_JacobianSparsityPattern, double ***dp3_JacobianValue) |
Same as RecoverD2Cln_RowCompressedFormat_unmanaged(), except that memory allocation for output vector(s) is done by user. | |
int | RecoverD2Cln_SparseSolversFormat (BipartiteGraphPartialColoringInterface *g, double **dp2_CompressedMatrix, unsigned int **uip2_JacobianSparsityPattern, unsigned int **ip2_RowIndex, unsigned int **ip2_ColumnIndex, double **dp2_JacobianValue) |
A routine for recovering a Jacobian from a "Column-wise Distance 2 coloring"-based compressed representation. | |
int | RecoverD2Cln_SparseSolversFormat_unmanaged (BipartiteGraphPartialColoringInterface *g, double **dp2_CompressedMatrix, unsigned int **uip2_JacobianSparsityPattern, unsigned int **ip2_RowIndex, unsigned int **ip2_ColumnIndex, double **dp2_JacobianValue) |
Same as RecoverD2Cln_SparseSolversFormat(), except that the output is NOT managed by ColPack. | |
int | RecoverD2Cln_SparseSolversFormat_usermem (BipartiteGraphPartialColoringInterface *g, double **dp2_CompressedMatrix, unsigned int **uip2_JacobianSparsityPattern, unsigned int **ip2_RowIndex, unsigned int **ip2_ColumnIndex, double **dp2_JacobianValue) |
Same as RecoverD2Cln_SparseSolversFormat_unmanaged(), except that memory allocation for output vector(s) is done by user. | |
int | RecoverD2Cln_CoordinateFormat (BipartiteGraphPartialColoringInterface *g, double **dp2_CompressedMatrix, unsigned int **uip2_JacobianSparsityPattern, unsigned int **ip2_RowIndex, unsigned int **ip2_ColumnIndex, double **dp2_JacobianValue) |
A routine for recovering a Jacobian from a "Column-wise Distance 2 coloring"-based compressed representation. | |
int | RecoverD2Cln_CoordinateFormat_OMP (BipartiteGraphPartialColoringInterface *g, double **dp2_CompressedMatrix, unsigned int **uip2_JacobianSparsityPattern, unsigned int **ip2_RowIndex, unsigned int **ip2_ColumnIndex, double **dp2_JacobianValue) |
int | RecoverD2Cln_CoordinateFormat_unmanaged (BipartiteGraphPartialColoringInterface *g, double **dp2_CompressedMatrix, unsigned int **uip2_JacobianSparsityPattern, unsigned int **ip2_RowIndex, unsigned int **ip2_ColumnIndex, double **dp2_JacobianValue) |
Same as RecoverD2Cln_CoordinateFormat(), except that the output is NOT managed by ColPack. | |
int | RecoverD2Cln_CoordinateFormat_unmanaged_OMP (BipartiteGraphPartialColoringInterface *g, double **dp2_CompressedMatrix, unsigned int **uip2_JacobianSparsityPattern, unsigned int **ip2_RowIndex, unsigned int **ip2_ColumnIndex, double **dp2_JacobianValue) |
int | RecoverD2Cln_CoordinateFormat_usermem_serial (BipartiteGraphPartialColoringInterface *g, double **dp2_CompressedMatrix, unsigned int **uip2_JacobianSparsityPattern, unsigned int **ip2_RowIndex, unsigned int **ip2_ColumnIndex, double **dp2_JacobianValue) |
Same as RecoverD2Cln_CoordinateFormat_unmanaged(), except that memory allocation for output vector(s) is done by user. (OpenMP enabled) | |
int | RecoverD2Cln_CoordinateFormat_usermem (BipartiteGraphPartialColoringInterface *g, double **dp2_CompressedMatrix, unsigned int **uip2_JacobianSparsityPattern, unsigned int **ip2_RowIndex, unsigned int **ip2_ColumnIndex, double **dp2_JacobianValue) |
int | CompareMatrix_CoordinateFormat_vs_CoordinateFormat (int i_rowCount, unsigned int **ip2_RowIndex, unsigned int **ip2_ColumnIndex, double **dp2_JacobianValue, unsigned int **ip2_RowIndex2, unsigned int **ip2_ColumnIndex2, double **dp2_JacobianValue2) |
int | CompareMatrix_CoordinateFormat_vs_RowCompressedFormat (int i_rowCount, unsigned int **ip2_RowIndex, unsigned int **ip2_ColumnIndex, double **dp2_JacobianValue, int rowCount2, unsigned int ***uip3_SparsityPattern, double ***dp3_Value) |
class JacobianRecovery1D in group5.
Definition at line 31 of file JacobianRecovery1D.h.
int ColPack::JacobianRecovery1D::CompareMatrix_CoordinateFormat_vs_CoordinateFormat | ( | int | i_rowCount, |
unsigned int ** | ip2_RowIndex, | ||
unsigned int ** | ip2_ColumnIndex, | ||
double ** | dp2_JacobianValue, | ||
unsigned int ** | ip2_RowIndex2, | ||
unsigned int ** | ip2_ColumnIndex2, | ||
double ** | dp2_JacobianValue2 | ||
) |
Definition at line 621 of file JacobianRecovery1D.cpp.
int ColPack::JacobianRecovery1D::CompareMatrix_CoordinateFormat_vs_RowCompressedFormat | ( | int | i_rowCount, |
unsigned int ** | ip2_RowIndex, | ||
unsigned int ** | ip2_ColumnIndex, | ||
double ** | dp2_JacobianValue, | ||
int | rowCount2, | ||
unsigned int *** | uip3_SparsityPattern, | ||
double *** | dp3_Value | ||
) |
Definition at line 648 of file JacobianRecovery1D.cpp.
int ColPack::JacobianRecovery1D::RecoverD2Cln_ADICFormat | ( | BipartiteGraphPartialColoringInterface * | g, |
double ** | dp2_CompressedMatrix, | ||
std::list< std::set< int > > & | lsi_SparsityPattern, | ||
std::list< std::vector< double > > & | lvd_NewValue | ||
) |
Definition at line 322 of file JacobianRecovery1D.cpp.
References _FALSE, ColPack::BipartiteGraphPartialColoring::GetRightVertexColors(), and ColPack::BipartiteGraphCore::GetRowVertexCount().
Referenced by main().
int ColPack::JacobianRecovery1D::RecoverD2Cln_CoordinateFormat | ( | BipartiteGraphPartialColoringInterface * | g, |
double ** | dp2_CompressedMatrix, | ||
unsigned int ** | uip2_JacobianSparsityPattern, | ||
unsigned int ** | ip2_RowIndex, | ||
unsigned int ** | ip2_ColumnIndex, | ||
double ** | dp2_JacobianValue | ||
) |
A routine for recovering a Jacobian from a "Column-wise Distance 2 coloring"-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 607 of file JacobianRecovery1D.cpp.
References ColPack::BipartiteGraphCore::GetRowVertexCount().
Referenced by main().
int ColPack::JacobianRecovery1D::RecoverD2Cln_CoordinateFormat_OMP | ( | BipartiteGraphPartialColoringInterface * | g, |
double ** | dp2_CompressedMatrix, | ||
unsigned int ** | uip2_JacobianSparsityPattern, | ||
unsigned int ** | ip2_RowIndex, | ||
unsigned int ** | ip2_ColumnIndex, | ||
double ** | dp2_JacobianValue | ||
) |
Definition at line 593 of file JacobianRecovery1D.cpp.
References ColPack::BipartiteGraphCore::GetRowVertexCount().
int ColPack::JacobianRecovery1D::RecoverD2Cln_CoordinateFormat_unmanaged | ( | BipartiteGraphPartialColoringInterface * | g, |
double ** | dp2_CompressedMatrix, | ||
unsigned int ** | uip2_JacobianSparsityPattern, | ||
unsigned int ** | ip2_RowIndex, | ||
unsigned int ** | ip2_ColumnIndex, | ||
double ** | dp2_JacobianValue | ||
) |
Same as RecoverD2Cln_CoordinateFormat(), except that the output is NOT managed by ColPack.
Notes:
Definition at line 578 of file JacobianRecovery1D.cpp.
References _FALSE, and ColPack::BipartiteGraphCore::GetEdgeCount().
int ColPack::JacobianRecovery1D::RecoverD2Cln_CoordinateFormat_unmanaged_OMP | ( | BipartiteGraphPartialColoringInterface * | g, |
double ** | dp2_CompressedMatrix, | ||
unsigned int ** | uip2_JacobianSparsityPattern, | ||
unsigned int ** | ip2_RowIndex, | ||
unsigned int ** | ip2_ColumnIndex, | ||
double ** | dp2_JacobianValue | ||
) |
Definition at line 550 of file JacobianRecovery1D.cpp.
References _FALSE, and ColPack::BipartiteGraphCore::GetEdgeCount().
int ColPack::JacobianRecovery1D::RecoverD2Cln_CoordinateFormat_usermem | ( | BipartiteGraphPartialColoringInterface * | g, |
double ** | dp2_CompressedMatrix, | ||
unsigned int ** | uip2_JacobianSparsityPattern, | ||
unsigned int ** | ip2_RowIndex, | ||
unsigned int ** | ip2_ColumnIndex, | ||
double ** | dp2_JacobianValue | ||
) |
Definition at line 496 of file JacobianRecovery1D.cpp.
References _FALSE, ColPack::BipartiteGraphCore::GetLeftVerticesPtr(), ColPack::BipartiteGraphPartialColoring::GetRightVertexColors(), and ColPack::BipartiteGraphCore::GetRowVertexCount().
int ColPack::JacobianRecovery1D::RecoverD2Cln_CoordinateFormat_usermem_serial | ( | BipartiteGraphPartialColoringInterface * | g, |
double ** | dp2_CompressedMatrix, | ||
unsigned int ** | uip2_JacobianSparsityPattern, | ||
unsigned int ** | ip2_RowIndex, | ||
unsigned int ** | ip2_ColumnIndex, | ||
double ** | dp2_JacobianValue | ||
) |
Same as RecoverD2Cln_CoordinateFormat_unmanaged(), except that memory allocation for output vector(s) is done by user. (OpenMP enabled)
Notes:
Definition at line 523 of file JacobianRecovery1D.cpp.
References _FALSE, ColPack::BipartiteGraphPartialColoring::GetRightVertexColors(), and ColPack::BipartiteGraphCore::GetRowVertexCount().
int ColPack::JacobianRecovery1D::RecoverD2Cln_RowCompressedFormat | ( | BipartiteGraphPartialColoringInterface * | g, |
double ** | dp2_CompressedMatrix, | ||
unsigned int ** | uip2_JacobianSparsityPattern, | ||
double *** | dp3_JacobianValue | ||
) |
A routine for recovering a Jacobian from a "Column-wise Distance 2 coloring"-based compressed representation.
Return by recovery routine: double*** dp3_JacobianValue
Precondition:
Postcondition:
Return value: size of (*dp3_JacobianValue) array
About input parameters:
Row Compressed Format for dp3_JacobianValue:
An example of compressed sparse rows format:
Definition at line 399 of file JacobianRecovery1D.cpp.
References ColPack::BipartiteGraphCore::GetRowVertexCount().
Referenced by main().
int ColPack::JacobianRecovery1D::RecoverD2Cln_RowCompressedFormat_unmanaged | ( | BipartiteGraphPartialColoringInterface * | g, |
double ** | dp2_CompressedMatrix, | ||
unsigned int ** | uip2_JacobianSparsityPattern, | ||
double *** | dp3_JacobianValue | ||
) |
Same as RecoverD2Cln_RowCompressedFormat(), except that the output is NOT managed by ColPack.
Notes:
Definition at line 376 of file JacobianRecovery1D.cpp.
References _FALSE, and ColPack::BipartiteGraphCore::GetRowVertexCount().
Referenced by main().
int ColPack::JacobianRecovery1D::RecoverD2Cln_RowCompressedFormat_usermem | ( | BipartiteGraphPartialColoringInterface * | g, |
double ** | dp2_CompressedMatrix, | ||
unsigned int ** | uip2_JacobianSparsityPattern, | ||
double *** | dp3_JacobianValue | ||
) |
Same as RecoverD2Cln_RowCompressedFormat_unmanaged(), except that memory allocation for output vector(s) is done by user.
Notes:
Definition at line 352 of file JacobianRecovery1D.cpp.
References _FALSE, ColPack::BipartiteGraphPartialColoring::GetRightVertexColors(), and ColPack::BipartiteGraphCore::GetRowVertexCount().
Referenced by main().
int ColPack::JacobianRecovery1D::RecoverD2Cln_SparseSolversFormat | ( | BipartiteGraphPartialColoringInterface * | g, |
double ** | dp2_CompressedMatrix, | ||
unsigned int ** | uip2_JacobianSparsityPattern, | ||
unsigned int ** | ip2_RowIndex, | ||
unsigned int ** | ip2_ColumnIndex, | ||
double ** | dp2_JacobianValue | ||
) |
A routine for recovering a Jacobian from a "Column-wise Distance 2 coloring"-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 482 of file JacobianRecovery1D.cpp.
References ColPack::BipartiteGraphCore::GetRowVertexCount().
Referenced by main().
int ColPack::JacobianRecovery1D::RecoverD2Cln_SparseSolversFormat_unmanaged | ( | BipartiteGraphPartialColoringInterface * | g, |
double ** | dp2_CompressedMatrix, | ||
unsigned int ** | uip2_JacobianSparsityPattern, | ||
unsigned int ** | ip2_RowIndex, | ||
unsigned int ** | ip2_ColumnIndex, | ||
double ** | dp2_JacobianValue | ||
) |
Same as RecoverD2Cln_SparseSolversFormat(), except that the output is NOT managed by ColPack.
Notes:
Definition at line 453 of file JacobianRecovery1D.cpp.
References _FALSE, ColPack::BipartiteGraphCore::GetColumnIndices(), ColPack::BipartiteGraphCore::GetRowVertexCount(), and ColPack::BipartiteGraphCore::GetRowVertices().
int ColPack::JacobianRecovery1D::RecoverD2Cln_SparseSolversFormat_usermem | ( | BipartiteGraphPartialColoringInterface * | g, |
double ** | dp2_CompressedMatrix, | ||
unsigned int ** | uip2_JacobianSparsityPattern, | ||
unsigned int ** | ip2_RowIndex, | ||
unsigned int ** | ip2_ColumnIndex, | ||
double ** | dp2_JacobianValue | ||
) |
Same as RecoverD2Cln_SparseSolversFormat_unmanaged(), except that memory allocation for output vector(s) is done by user.
Notes:
Definition at line 411 of file JacobianRecovery1D.cpp.
References _FALSE, ColPack::BipartiteGraphCore::GetEdgeCount(), ColPack::BipartiteGraphPartialColoring::GetRightVertexColors(), and ColPack::BipartiteGraphCore::GetRowVertexCount().
int ColPack::JacobianRecovery1D::RecoverD2Row_CoordinateFormat | ( | BipartiteGraphPartialColoringInterface * | g, |
double ** | dp2_CompressedMatrix, | ||
unsigned int ** | uip2_JacobianSparsityPattern, | ||
unsigned int ** | ip2_RowIndex, | ||
unsigned int ** | ip2_ColumnIndex, | ||
double ** | dp2_JacobianValue | ||
) |
A routine for recovering a Jacobian from a "Row-wise Distance 2 coloring"-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 308 of file JacobianRecovery1D.cpp.
References ColPack::BipartiteGraphCore::GetRowVertexCount().
int ColPack::JacobianRecovery1D::RecoverD2Row_CoordinateFormat_OMP | ( | BipartiteGraphPartialColoringInterface * | g, |
double ** | dp2_CompressedMatrix, | ||
unsigned int ** | uip2_JacobianSparsityPattern, | ||
unsigned int ** | ip2_RowIndex, | ||
unsigned int ** | ip2_ColumnIndex, | ||
double ** | dp2_JacobianValue | ||
) |
Definition at line 294 of file JacobianRecovery1D.cpp.
References ColPack::BipartiteGraphCore::GetRowVertexCount().
int ColPack::JacobianRecovery1D::RecoverD2Row_CoordinateFormat_unmanaged | ( | BipartiteGraphPartialColoringInterface * | g, |
double ** | dp2_CompressedMatrix, | ||
unsigned int ** | uip2_JacobianSparsityPattern, | ||
unsigned int ** | ip2_RowIndex, | ||
unsigned int ** | ip2_ColumnIndex, | ||
double ** | dp2_JacobianValue | ||
) |
Same as RecoverD2Row_CoordinateFormat(), except that the output is NOT managed by ColPack.
Notes:
Definition at line 279 of file JacobianRecovery1D.cpp.
References _FALSE, and ColPack::BipartiteGraphCore::GetEdgeCount().
int ColPack::JacobianRecovery1D::RecoverD2Row_CoordinateFormat_unmanaged_OMP | ( | BipartiteGraphPartialColoringInterface * | g, |
double ** | dp2_CompressedMatrix, | ||
unsigned int ** | uip2_JacobianSparsityPattern, | ||
unsigned int ** | ip2_RowIndex, | ||
unsigned int ** | ip2_ColumnIndex, | ||
double ** | dp2_JacobianValue | ||
) |
Definition at line 251 of file JacobianRecovery1D.cpp.
References _FALSE, and ColPack::BipartiteGraphCore::GetEdgeCount().
int ColPack::JacobianRecovery1D::RecoverD2Row_CoordinateFormat_usermem | ( | BipartiteGraphPartialColoringInterface * | g, |
double ** | dp2_CompressedMatrix, | ||
unsigned int ** | uip2_JacobianSparsityPattern, | ||
unsigned int ** | ip2_RowIndex, | ||
unsigned int ** | ip2_ColumnIndex, | ||
double ** | dp2_JacobianValue | ||
) |
Definition at line 178 of file JacobianRecovery1D.cpp.
References _FALSE, ColPack::BipartiteGraphPartialColoring::GetLeftVertexColors(), ColPack::BipartiteGraphCore::GetLeftVerticesPtr(), and ColPack::BipartiteGraphCore::GetRowVertexCount().
int ColPack::JacobianRecovery1D::RecoverD2Row_CoordinateFormat_usermem_serial | ( | BipartiteGraphPartialColoringInterface * | g, |
double ** | dp2_CompressedMatrix, | ||
unsigned int ** | uip2_JacobianSparsityPattern, | ||
unsigned int ** | ip2_RowIndex, | ||
unsigned int ** | ip2_ColumnIndex, | ||
double ** | dp2_JacobianValue | ||
) |
Same as RecoverD2Row_CoordinateFormat_unmanaged(), except that memory allocation for output vector(s) is done by user. (OpenMP enabled)
Notes:
Definition at line 215 of file JacobianRecovery1D.cpp.
References _FALSE, ColPack::BipartiteGraphPartialColoring::GetLeftVertexColors(), and ColPack::BipartiteGraphCore::GetRowVertexCount().
int ColPack::JacobianRecovery1D::RecoverD2Row_RowCompressedFormat | ( | BipartiteGraphPartialColoringInterface * | g, |
double ** | dp2_CompressedMatrix, | ||
unsigned int ** | uip2_JacobianSparsityPattern, | ||
double *** | dp3_JacobianValue | ||
) |
A routine for recovering a Jacobian from a "Row-wise Distance 2 coloring"-based compressed representation.
Return by recovery routine: double*** dp3_JacobianValue
Precondition:
Postcondition:
Return value: size of (*dp3_JacobianValue) array
About input parameters:
Row Compressed Format for dp3_JacobianValue:
An example of compressed sparse rows format:
Definition at line 81 of file JacobianRecovery1D.cpp.
References ColPack::BipartiteGraphCore::GetRowVertexCount().
Referenced by main().
int ColPack::JacobianRecovery1D::RecoverD2Row_RowCompressedFormat_unmanaged | ( | BipartiteGraphPartialColoringInterface * | g, |
double ** | dp2_CompressedMatrix, | ||
unsigned int ** | uip2_JacobianSparsityPattern, | ||
double *** | dp3_JacobianValue | ||
) |
Same as RecoverD2Row_RowCompressedFormat(), except that the output is NOT managed by ColPack.
Notes:
Definition at line 28 of file JacobianRecovery1D.cpp.
References _FALSE, and ColPack::BipartiteGraphCore::GetRowVertexCount().
int ColPack::JacobianRecovery1D::RecoverD2Row_RowCompressedFormat_usermem | ( | BipartiteGraphPartialColoringInterface * | g, |
double ** | dp2_CompressedMatrix, | ||
unsigned int ** | uip2_JacobianSparsityPattern, | ||
double *** | dp3_JacobianValue | ||
) |
Same as RecoverD2Row_RowCompressedFormat_unmanaged(), except that memory allocation for output vector(s) is done by user.
Notes:
Definition at line 49 of file JacobianRecovery1D.cpp.
References _FALSE, ColPack::BipartiteGraphPartialColoring::GetLeftVertexColors(), and ColPack::BipartiteGraphCore::GetRowVertexCount().
int ColPack::JacobianRecovery1D::RecoverD2Row_SparseSolversFormat | ( | BipartiteGraphPartialColoringInterface * | g, |
double ** | dp2_CompressedMatrix, | ||
unsigned int ** | uip2_JacobianSparsityPattern, | ||
unsigned int ** | ip2_RowIndex, | ||
unsigned int ** | ip2_ColumnIndex, | ||
double ** | dp2_JacobianValue | ||
) |
A routine for recovering a Jacobian from a "Row-wise Distance 2 coloring"-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 164 of file JacobianRecovery1D.cpp.
References ColPack::BipartiteGraphCore::GetRowVertexCount().
int ColPack::JacobianRecovery1D::RecoverD2Row_SparseSolversFormat_unmanaged | ( | BipartiteGraphPartialColoringInterface * | g, |
double ** | dp2_CompressedMatrix, | ||
unsigned int ** | uip2_JacobianSparsityPattern, | ||
unsigned int ** | ip2_RowIndex, | ||
unsigned int ** | ip2_ColumnIndex, | ||
double ** | dp2_JacobianValue | ||
) |
Same as RecoverD2Row_SparseSolversFormat(), except that the output is NOT managed by ColPack.
Notes:
Definition at line 137 of file JacobianRecovery1D.cpp.
References _FALSE, ColPack::BipartiteGraphCore::GetColumnIndices(), ColPack::BipartiteGraphCore::GetRowVertexCount(), and ColPack::BipartiteGraphCore::GetRowVertices().
int ColPack::JacobianRecovery1D::RecoverD2Row_SparseSolversFormat_usermem | ( | BipartiteGraphPartialColoringInterface * | g, |
double ** | dp2_CompressedMatrix, | ||
unsigned int ** | uip2_JacobianSparsityPattern, | ||
unsigned int ** | ip2_RowIndex, | ||
unsigned int ** | ip2_ColumnIndex, | ||
double ** | dp2_JacobianValue | ||
) |
Same as RecoverD2Row_SparseSolversFormat_usermem(), except that memory allocation for output vector(s) is done by user.
Notes:
Definition at line 93 of file JacobianRecovery1D.cpp.
References _FALSE, ColPack::BipartiteGraphCore::GetEdgeCount(), ColPack::BipartiteGraphPartialColoring::GetLeftVertexColors(), and ColPack::BipartiteGraphCore::GetRowVertexCount().