Home
last modified time | relevance | path

Searched refs:PetscFree (Results 1 – 25 of 1033) sorted by relevance

12345678910>>...42

/petsc/src/dm/impls/da/
H A Ddadestroy.c14 PetscCall(PetscFree(dd->startghostedout[i])); in DMDestroy_DA()
15 PetscCall(PetscFree(dd->startghostedin[i])); in DMDestroy_DA()
16 PetscCall(PetscFree(dd->startout[i])); in DMDestroy_DA()
17 PetscCall(PetscFree(dd->startin[i])); in DMDestroy_DA()
25 PetscCall(PetscFree(dd->aotype)); in DMDestroy_DA()
27 PetscCall(PetscFree(dd->lx)); in DMDestroy_DA()
28 PetscCall(PetscFree(dd->ly)); in DMDestroy_DA()
29 PetscCall(PetscFree(dd->lz)); in DMDestroy_DA()
31 PetscCall(PetscFree(dd->refine_x_hier)); in DMDestroy_DA()
32 PetscCall(PetscFree(dd->refine_y_hier)); in DMDestroy_DA()
[all …]
/petsc/src/sys/tests/
H A Dex62.c119 PetscCall(PetscFree(set_a)); in test_empty_empty()
120 PetscCall(PetscFree(set_b)); in test_empty_empty()
144 PetscCall(PetscFree(set_a)); in test_a_empty()
145 PetscCall(PetscFree(set_b)); in test_a_empty()
169 PetscCall(PetscFree(set_a)); in test_b_empty()
170 PetscCall(PetscFree(set_b)); in test_b_empty()
199 PetscCall(PetscFree(set_a)); in test_identical()
200 PetscCall(PetscFree(set_b)); in test_identical()
229 PetscCall(PetscFree(set_a)); in test_disjoint()
230 PetscCall(PetscFree(set_b)); in test_disjoint()
[all …]
H A Dex21.c33 PetscCall(PetscFree(Level)); in main()
34 PetscCall(PetscFree(Levelcnt)); in main()
35 PetscCall(PetscFree(Idbylevel)); in main()
36 PetscCall(PetscFree(Column)); in main()
H A Dex10.c22 PetscCall(PetscFree(a)); in main()
32 PetscCall(PetscFree(b)); in main()
44 PetscCall(PetscFree(a)); in main()
/petsc/src/tao/unconstrained/impls/bmrm/
H A Dbmrm.c282 PetscCall(PetscFree(p)); in destroy_grad_list()
450 PetscCall(PetscFree(tao->data)); in TaoDestroy_BMRM()
565 PetscCall(PetscFree(df->f)); in ensure_df_space()
570 PetscCall(PetscFree(df->a)); in ensure_df_space()
575 PetscCall(PetscFree(df->l)); in ensure_df_space()
580 PetscCall(PetscFree(df->u)); in ensure_df_space()
585 PetscCall(PetscFree(df->x)); in ensure_df_space()
593 PetscCall(PetscFree(df->Q[i])); in ensure_df_space()
597 PetscCall(PetscFree(df->Q)); in ensure_df_space()
600 PetscCall(PetscFree(df->g)); in ensure_df_space()
[all …]
/petsc/src/mat/utils/
H A Dfreespace.c36 PetscCall(PetscFree((*head)->array_head)); in PetscFreeSpaceContiguous()
37 PetscCall(PetscFree(*head)); in PetscFreeSpaceContiguous()
106 PetscCall(PetscFree((*head)->array_head)); in PetscFreeSpaceContiguous_LU()
107 PetscCall(PetscFree(*head)); in PetscFreeSpaceContiguous_LU()
160 PetscCall(PetscFree((*head)->array_head)); in PetscFreeSpaceContiguous_Cholesky()
161 PetscCall(PetscFree(*head)); in PetscFreeSpaceContiguous_Cholesky()
174 PetscCall(PetscFree((head)->array_head)); in PetscFreeSpaceDestroy()
175 PetscCall(PetscFree(head)); in PetscFreeSpaceDestroy()
/petsc/src/mat/impls/aij/seq/lusol/
H A Dlusol.c170 PetscCall(PetscFree(lusol->ip)); in MatDestroy_LUSOL()
171 PetscCall(PetscFree(lusol->iq)); in MatDestroy_LUSOL()
172 PetscCall(PetscFree(lusol->lenc)); in MatDestroy_LUSOL()
173 PetscCall(PetscFree(lusol->lenr)); in MatDestroy_LUSOL()
174 PetscCall(PetscFree(lusol->locc)); in MatDestroy_LUSOL()
175 PetscCall(PetscFree(lusol->locr)); in MatDestroy_LUSOL()
176 PetscCall(PetscFree(lusol->iploc)); in MatDestroy_LUSOL()
177 PetscCall(PetscFree(lusol->iqloc)); in MatDestroy_LUSOL()
178 PetscCall(PetscFree(lusol->ipinv)); in MatDestroy_LUSOL()
179 PetscCall(PetscFree(lusol->iqinv)); in MatDestroy_LUSOL()
[all …]
/petsc/src/dm/impls/swarm/
H A Ddata_ex.c165 if (d->neighbour_procs) PetscCall(PetscFree(d->neighbour_procs)); in DMSwarmDataExDestroy()
166 if (d->messages_to_be_sent) PetscCall(PetscFree(d->messages_to_be_sent)); in DMSwarmDataExDestroy()
167 if (d->message_offsets) PetscCall(PetscFree(d->message_offsets)); in DMSwarmDataExDestroy()
168 if (d->messages_to_be_recvieved) PetscCall(PetscFree(d->messages_to_be_recvieved)); in DMSwarmDataExDestroy()
169 if (d->send_message) PetscCall(PetscFree(d->send_message)); in DMSwarmDataExDestroy()
170 if (d->recv_message) PetscCall(PetscFree(d->recv_message)); in DMSwarmDataExDestroy()
171 if (d->pack_cnt) PetscCall(PetscFree(d->pack_cnt)); in DMSwarmDataExDestroy()
172 if (d->send_tags) PetscCall(PetscFree(d->send_tags)); in DMSwarmDataExDestroy()
173 if (d->recv_tags) PetscCall(PetscFree(d->recv_tags)); in DMSwarmDataExDestroy()
174 if (d->_stats) PetscCall(PetscFree(d->_stats)); in DMSwarmDataExDestroy()
[all …]
/petsc/src/dm/dt/tests/
H A Dex6.c37 PetscCall(PetscFree(la_nodes)); in main()
38 PetscCall(PetscFree(la_weights)); in main()
39 PetscCall(PetscFree(n_nodes)); in main()
40 PetscCall(PetscFree(n_weights)); in main()
H A Dex13.c97 PetscCall(PetscFree(work)); in test()
98 PetscCall(PetscFree(S)); in test()
240 PetscCall(PetscFree(M_k_moment)); in test()
241 PetscCall(PetscFree(M_koszul)); in test()
242 PetscCall(PetscFree(p_koszul)); in test()
243 PetscCall(PetscFree(pattern)); in test()
244 PetscCall(PetscFree(p_trimmed1)); in test()
245 PetscCall(PetscFree(M_trimmed1)); in test()
274 PetscCall(PetscFree(M_moment_real)); in test()
275 PetscCall(PetscFree(p_trimmed_copy)); in test()
[all …]
H A Dex9.c28 PetscCall(PetscFree(p)); in testOrthogonality()
85 PetscCall(PetscFree(points1d)); in testDerivativesLegendre()
99 for (i = 0; i < dim; i++) PetscCall(PetscFree(B[i])); in testDerivativesLegendre()
100 PetscCall(PetscFree(B)); in testDerivativesLegendre()
141 for (i = 0; i < dim; i++) PetscCall(PetscFree(D[i])); in testDerivativesLegendre()
142 PetscCall(PetscFree(D)); in testDerivativesLegendre()
153 PetscCall(PetscFree(degrees)); in testDerivativesLegendre()
155 PetscCall(PetscFree(point)); in testDerivativesLegendre()
157 PetscCall(PetscFree(proj)); in testDerivativesLegendre()
/petsc/src/ksp/ksp/impls/gmres/dgmres/
H A Ddgmres.c275 PetscCall(PetscFree(TT)); in KSPDestroy_DGMRES()
276 PetscCall(PetscFree(TTF)); in KSPDestroy_DGMRES()
277 PetscCall(PetscFree(INVP)); in KSPDestroy_DGMRES()
278 PetscCall(PetscFree(XMX)); in KSPDestroy_DGMRES()
279 PetscCall(PetscFree(UMX)); in KSPDestroy_DGMRES()
280 PetscCall(PetscFree(XMU)); in KSPDestroy_DGMRES()
281 PetscCall(PetscFree(X1)); in KSPDestroy_DGMRES()
282 PetscCall(PetscFree(X2)); in KSPDestroy_DGMRES()
283 PetscCall(PetscFree(dgmres->work)); in KSPDestroy_DGMRES()
284 PetscCall(PetscFree(dgmres->iwork)); in KSPDestroy_DGMRES()
[all …]
/petsc/src/dm/impls/stag/tests/
H A Dex42.c45 PetscCall(PetscFree(field_names[i])); in main()
49 PetscCall(PetscFree(fields)); in main()
50 PetscCall(PetscFree(field_names)); in main()
51 PetscCall(PetscFree(sub_dms)); in main()
/petsc/src/mat/impls/dense/mpi/
H A Dmmdense.c266 PetscCall(PetscFree(r_status1)); in MatCreateSubMatrices_MPIDense_Local()
267 PetscCall(PetscFree(r_waits1)); in MatCreateSubMatrices_MPIDense_Local()
270 PetscCall(PetscFree(s_status1)); in MatCreateSubMatrices_MPIDense_Local()
271 PetscCall(PetscFree(s_waits1)); in MatCreateSubMatrices_MPIDense_Local()
364 PetscCall(PetscFree(r_status2)); in MatCreateSubMatrices_MPIDense_Local()
365 PetscCall(PetscFree(r_waits2)); in MatCreateSubMatrices_MPIDense_Local()
368 PetscCall(PetscFree(s_status2)); in MatCreateSubMatrices_MPIDense_Local()
369 PetscCall(PetscFree(s_waits2)); in MatCreateSubMatrices_MPIDense_Local()
379 PetscCall(PetscFree(pa)); in MatCreateSubMatrices_MPIDense_Local()
381 for (PetscMPIInt i = 0; i < nrqs; ++i) PetscCall(PetscFree(rbuf2[i])); in MatCreateSubMatrices_MPIDense_Local()
[all …]
/petsc/src/mat/impls/aij/seq/aijperm/
H A Daijperm.c82 PetscCall(PetscFree(aijperm->xgroup)); in MatConvert_SeqAIJPERM_SeqAIJ()
83 PetscCall(PetscFree(aijperm->nzgroup)); in MatConvert_SeqAIJPERM_SeqAIJ()
84 PetscCall(PetscFree(aijperm->iperm)); in MatConvert_SeqAIJPERM_SeqAIJ()
85 PetscCall(PetscFree(B->spptr)); in MatConvert_SeqAIJPERM_SeqAIJ()
101 PetscCall(PetscFree(aijperm->xgroup)); in MatDestroy_SeqAIJPERM()
102 PetscCall(PetscFree(aijperm->nzgroup)); in MatDestroy_SeqAIJPERM()
103 PetscCall(PetscFree(aijperm->iperm)); in MatDestroy_SeqAIJPERM()
104 PetscCall(PetscFree(A->spptr)); in MatDestroy_SeqAIJPERM()
128 PetscCall(PetscFree(aijperm_dest->xgroup)); in MatDuplicate_SeqAIJPERM()
129 PetscCall(PetscFree(aijperm_dest->nzgroup)); in MatDuplicate_SeqAIJPERM()
[all …]
/petsc/src/dm/impls/plex/generators/triangle/
H A Dtrigenerate.c159 PetscCall(PetscFree(in.pointlist)); in DMPlexGenerate_Triangle()
160 PetscCall(PetscFree(in.pointmarkerlist)); in DMPlexGenerate_Triangle()
161 PetscCall(PetscFree(in.segmentlist)); in DMPlexGenerate_Triangle()
162 PetscCall(PetscFree(in.segmentmarkerlist)); in DMPlexGenerate_Triangle()
163 PetscCall(PetscFree(in.holelist)); in DMPlexGenerate_Triangle()
191 if (sizeof(PetscReal) != sizeof(out.pointlist[0])) PetscCall(PetscFree(meshCoords)); in DMPlexGenerate_Triangle()
192 if (sizeof(PetscInt) != sizeof(out.trianglelist[0])) PetscCall(PetscFree(cells)); in DMPlexGenerate_Triangle()
325 PetscCall(PetscFree(in.pointlist)); in DMPlexRefine_Triangle()
326 PetscCall(PetscFree(in.pointmarkerlist)); in DMPlexRefine_Triangle()
327 PetscCall(PetscFree(in.segmentlist)); in DMPlexRefine_Triangle()
[all …]
/petsc/src/sys/classes/draw/interface/
H A Ddraw.c202 PetscCall(PetscFree(draw->title)); in PetscDrawSetTitle()
291 PetscCall(PetscFree((*draw)->title)); in PetscDrawDestroy()
292 PetscCall(PetscFree((*draw)->display)); in PetscDrawDestroy()
293 PetscCall(PetscFree((*draw)->savefilename)); in PetscDrawDestroy()
294 PetscCall(PetscFree((*draw)->saveimageext)); in PetscDrawDestroy()
295 PetscCall(PetscFree((*draw)->savemovieext)); in PetscDrawDestroy()
296 PetscCall(PetscFree((*draw)->savefinalfilename)); in PetscDrawDestroy()
348 PetscCall(PetscFree(draw->display)); in PetscDrawSetDisplay()
/petsc/src/ts/event/
H A Dtsevent.c44 PetscCall(PetscFree((*event)->fvalue_prev)); in TSEventDestroy()
45 PetscCall(PetscFree((*event)->fvalue)); in TSEventDestroy()
46 PetscCall(PetscFree((*event)->fvalue_right)); in TSEventDestroy()
47 PetscCall(PetscFree((*event)->fsign_prev)); in TSEventDestroy()
48 PetscCall(PetscFree((*event)->fsign)); in TSEventDestroy()
49 PetscCall(PetscFree((*event)->fsign_right)); in TSEventDestroy()
50 PetscCall(PetscFree((*event)->side)); in TSEventDestroy()
51 PetscCall(PetscFree((*event)->side_prev)); in TSEventDestroy()
52 PetscCall(PetscFree((*event)->justrefined_AB)); in TSEventDestroy()
53 PetscCall(PetscFree((*event)->gamma_AB)); in TSEventDestroy()
[all …]
/petsc/src/sys/classes/viewer/impls/cgns/
H A Dcgnsv.c71 PetscCall(PetscFree(steps_int)); in PetscViewerFileClose_CGNS()
84 PetscCall(PetscFree(solnames)); in PetscViewerFileClose_CGNS()
88 PetscCall(PetscFree(cgv->filename)); in PetscViewerFileClose_CGNS()
95 PetscCall(PetscFree(cgv->node_l2g)); in PetscViewerFileClose_CGNS()
96 PetscCall(PetscFree(cgv->nodal_field)); in PetscViewerFileClose_CGNS()
153 PetscCall(PetscFree(cgv->solution_name)); in PetscViewerDestroy_CGNS()
154 PetscCall(PetscFree(cgv->filename_template)); in PetscViewerDestroy_CGNS()
155 PetscCall(PetscFree(cgv)); in PetscViewerDestroy_CGNS()
192 PetscCall(PetscFree(cgv->filename)); in PetscViewerFileSetName_CGNS()
193 PetscCall(PetscFree(cgv->filename_template)); in PetscViewerFileSetName_CGNS()
[all …]
/petsc/src/sys/utils/
H A Dstr.c182 PetscCall(PetscFree((*list)[n])); in PetscStrArrayDestroy()
185 PetscCall(PetscFree(*list)); in PetscStrArrayDestroy()
233 for (PetscInt i = 0; i < n; i++) PetscCall(PetscFree((*list)[i])); in PetscStrNArrayDestroy()
234 PetscCall(PetscFree(*list)); in PetscStrNArrayDestroy()
303 PetscCall(PetscFree(aa)); in PetscStrcasecmp()
304 PetscCall(PetscFree(bb)); in PetscStrcasecmp()
460 PetscCall(PetscFree((*a)->array)); in PetscTokenDestroy()
461 PetscCall(PetscFree(*a)); in PetscTokenDestroy()
582 PetscCall(PetscFree(r[2])); in PetscStrreplace()
615 PetscCall(PetscFree(tfree)); in PetscStrreplace()
[all …]
/petsc/src/benchmarks/
H A DPetscMalloc.c25 PetscCall(PetscFree(dummy)); in main()
34 for (i = 0; i < 1000; i += 2) PetscCall(PetscFree(arr[i])); in main()
40 for (i = 0; i < 1000; i++) PetscCall(PetscFree(arr[i])); in main()
/petsc/src/sys/objects/
H A Dfcallback.c27 PetscCall(PetscFree(link->type_name)); in PetscFortranCallbackFinalize()
28 PetscCall(PetscFree(link)); in PetscFortranCallbackFinalize()
31 PetscCall(PetscFree(_classbase)); in PetscFortranCallbackFinalize()
69 PetscCall(PetscFree(_classbase)); in PetscFortranCallbackRegister()
/petsc/src/sys/fileio/ftn-custom/
H A Dzmprintf.c54 *ierr = PetscFree(tmp); in petscfprintf_()
67 *ierr = PetscFree(tmp); in petscprintf_()
80 *ierr = PetscFree(tmp); in petscsynchronizedfprintf_()
93 *ierr = PetscFree(tmp); in petscsynchronizedprintf_()
/petsc/src/vec/is/ao/tests/
H A Dex5.c86 PetscCall(PetscFree(app_indices)); in main()
87 PetscCall(PetscFree(petsc_indices)); in main()
88 PetscCall(PetscFree(ia)); in main()
89 PetscCall(PetscFree(ia0)); in main()
/petsc/src/mat/tests/
H A Dex120.c143 PetscCall(PetscFree(rwork)); in main()
164 PetscCall(PetscFree(iwork)); in main()
165 PetscCall(PetscFree(ifail)); in main()
166 PetscCall(PetscFree(rwork)); in main()
178 PetscCall(PetscFree(rwork)); in main()
194 PetscCall(PetscFree(iwork)); in main()
195 PetscCall(PetscFree(rwork)); in main()
220 PetscCall(PetscFree(evecs)); in main()
223 if (TestZHEEVX || TestZHEGVX) PetscCall(PetscFree(evecs_array)); in main()
224 PetscCall(PetscFree(evals)); in main()
[all …]

12345678910>>...42