Home
last modified time | relevance | path

Searched refs:len_old (Results 1 – 1 of 1) sorted by relevance

/libCEED/examples/fluids/src/
H A Dmat-ceed.c1040 size_t len_old, len_new; in MatCeedSetCOOMatType() local
1043 PetscCall(PetscStrlen(ctx->coo_mat_type, &len_old)); in MatCeedSetCOOMatType()
1045 if (len_old == len_new) PetscCall(PetscStrncmp(ctx->coo_mat_type, type, len_old, &is_same)); in MatCeedSetCOOMatType()
1116 PetscInt len_old, len_new; in MatCeedSetLocalVectors() local
1118 PetscCall(VecGetSize(ctx->X_loc, &len_old)); in MatCeedSetLocalVectors()
1120 …PetscCheck(len_old == len_new, PETSC_COMM_SELF, PETSC_ERR_LIB, "new X_loc length %" PetscInt_FMT "… in MatCeedSetLocalVectors()
1121 len_new, len_old); in MatCeedSetLocalVectors()
1125 PetscInt len_old, len_new; in MatCeedSetLocalVectors() local
1127 PetscCall(VecGetSize(ctx->Y_loc_transpose, &len_old)); in MatCeedSetLocalVectors()
1129 PetscCheck(len_old == len_new, PETSC_COMM_SELF, PETSC_ERR_LIB, in MatCeedSetLocalVectors()
[all …]