Lines Matching refs:rart
95 MatProductCtx_RARt *rart = *(MatProductCtx_RARt **)data; in MatProductCtxDestroy_MPIAIJ_RARt() local
98 PetscCall(MatDestroy(&rart->Rt)); in MatProductCtxDestroy_MPIAIJ_RARt()
99 if (rart->destroy) PetscCall((*rart->destroy)(&rart->data)); in MatProductCtxDestroy_MPIAIJ_RARt()
100 PetscCall(PetscFree(rart)); in MatProductCtxDestroy_MPIAIJ_RARt()
106 MatProductCtx_RARt *rart; in MatProductNumeric_RARt_MPIAIJ_MPIAIJ() local
112 rart = (MatProductCtx_RARt *)C->product->data; in MatProductNumeric_RARt_MPIAIJ_MPIAIJ()
115 Rt = rart->Rt; in MatProductNumeric_RARt_MPIAIJ_MPIAIJ()
117 if (rart->data) C->product->data = rart->data; in MatProductNumeric_RARt_MPIAIJ_MPIAIJ()
119 C->product->data = rart; in MatProductNumeric_RARt_MPIAIJ_MPIAIJ()
126 MatProductCtx_RARt *rart; in MatProductSymbolic_RARt_MPIAIJ_MPIAIJ() local
139 PetscCall(PetscNew(&rart)); in MatProductSymbolic_RARt_MPIAIJ_MPIAIJ()
140 rart->Rt = Rt; in MatProductSymbolic_RARt_MPIAIJ_MPIAIJ()
141 rart->data = C->product->data; in MatProductSymbolic_RARt_MPIAIJ_MPIAIJ()
142 rart->destroy = C->product->destroy; in MatProductSymbolic_RARt_MPIAIJ_MPIAIJ()
143 C->product->data = rart; in MatProductSymbolic_RARt_MPIAIJ_MPIAIJ()