CSR* Alocal = CSRm::init(...) ;
A->row[] = ...;
A->col[]= ...;
A->col8[]=...;
A->val[]=...;
Question 1:
Could you please explain the arguments for CSRm::init(...) ?
Question 2:
Is A->col8 the same with A->col[]?
I think the CSR formatted matrix for BootCMatchGX is similar with AmgX.
I want to wrap it with PETSc like AmgXWrapper, which then can be used in my CFD code. But the interface of CSR matrix is the key point.
LI Jian
CSR* Alocal = CSRm::init(...) ;
A->row[] = ...;
A->col[]= ...;
A->col8[]=...;
A->val[]=...;
Question 1:
Could you please explain the arguments for CSRm::init(...) ?
Question 2:
Is A->col8 the same with A->col[]?
I think the CSR formatted matrix for BootCMatchGX is similar with AmgX.
I want to wrap it with PETSc like AmgXWrapper, which then can be used in my CFD code. But the interface of CSR matrix is the key point.
LI Jian