I write a simple c procedure to test the MatSetValues. the main body of
procedure is like this
int row=1;
int col=10;
double v=1.0;
MatSetValues(A,1,row,1,col,v,INSERT_VALUES);
MatSetValues(A,1,row,1,row,v,ADD_VALUES);
丁老师 ztdepya...@163.com writes:
I write a simple c procedure to test the MatSetValues. the main body of
procedure is like this
int row=1;
int col=10;
double v=1.0;
MatSetValues(A,1,row,1,col,v,INSERT_VALUES);
On Fri, 31 May 2013, Jed Brown wrote:
丁老师 ztdepya...@163.com writes:
I write a simple c procedure to test the MatSetValues. the main body of
procedure is like this
int row=1;
int col=10;
double v=1.0;
in the user manual, it taks about the MAT_FLUSH_ASSEMbLY, and
MAT_FINAL_ASSEMBLY,
how to use the MAT_FLUSH_ASSEMBLY, if i want to mix the add value and insert
value.
在 2013-06-01 00:30:45,Jed Brown jedbr...@mcs.anl.gov 写道:
丁老师 ztdepya...@163.com writes:
I write a simple c
丁老师 ztdepya...@163.com writes:
in the user manual, it taks about the MAT_FLUSH_ASSEMbLY, and
MAT_FINAL_ASSEMBLY,
how to use the MAT_FLUSH_ASSEMBLY, if i want to mix the add value and insert
value.
Was something unclear in Satish's mail from 8 hours ago?