Home
last modified time | relevance | path

Searched refs:active (Results 1 – 25 of 81) sorted by relevance

1234

/petsc/src/binding/petsc4py/test/
H A Dtest_log.py50 event.active = False
55 event.active = True
60 klass.active = False
65 klass.active = True
68 active = stage.getActive()
69 self.assertTrue(active)
70 self.assertTrue(stage.active)
72 active = stage.getActive()
73 self.assertFalse(active)
74 self.assertFalse(stage.active)
[all …]
/petsc/src/sys/logging/state/
H A Dlogstate.c35 PetscCall(PetscBTCreate(num_entries, &s->active)); in PetscLogStateCreate()
67 PetscCall(PetscBTDestroy(&s->active)); in PetscLogStateDestroy()
172 PetscCall(PetscMemcpy(active_new, state->active, num_chars)); in PetscLogStateResize()
177 …ents; i++) PetscCall(PetscMemcpy(&active_new[i * num_chars_new], &state->active[i * num_chars_old]… in PetscLogStateResize()
179 PetscCall(PetscBTDestroy(&state->active)); in PetscLogStateResize()
180 state->active = active_new; in PetscLogStateResize()
213 PetscCall(PetscBTSet(state->active, s)); // stages are by default active in PetscLogStateStageRegister()
216 if (PetscBTLookup(state->active, 0 + e * state->bt_num_stages)) { in PetscLogStateStageRegister()
217 PetscCall(PetscBTSet(state->active, s + e * state->bt_num_stages)); in PetscLogStateStageRegister()
219 PetscCall(PetscBTClear(state->active, s + e * state->bt_num_stages)); in PetscLogStateStageRegister()
[all …]
/petsc/src/dm/impls/plex/transform/impls/refine/1d/
H A Dplexref1d.c6 DMLabel active; in DMPlexTransformSetUp_1D() local
11 PetscCall(DMPlexTransformGetActive(tr, &active)); in DMPlexTransformSetUp_1D()
12 …PetscCheck(active, PetscObjectComm((PetscObject)tr), PETSC_ERR_ARG_WRONGSTATE, "DMPlexTransform mu… in DMPlexTransformSetUp_1D()
28 PetscCall(DMLabelGetValue(active, p, &val)); in DMPlexTransformSetUp_1D()
90 DMLabel active; in DMPlexTransformSetFromOptions_1D() local
92 PetscCall(DMLabelCreate(PETSC_COMM_SELF, "Adaptation Label", &active)); in DMPlexTransformSetFromOptions_1D()
93 for (i = 0; i < n; ++i) PetscCall(DMLabelSetValue(active, cells[i], DM_ADAPT_REFINE)); in DMPlexTransformSetFromOptions_1D()
94 PetscCall(DMPlexTransformSetActive(tr, active)); in DMPlexTransformSetFromOptions_1D()
95 PetscCall(DMLabelDestroy(&active)); in DMPlexTransformSetFromOptions_1D()
/petsc/src/dm/impls/plex/tests/
H A Dex57.c23 DMLabel active; /* Label for transform */ member
34 options->active = NULL; in ProcessOptions()
41 PetscCall(DMLabelCreate(comm, "active", &options->active)); in ProcessOptions()
42 …for (PetscInt c = 0; c < Nc; ++c) PetscCall(DMLabelSetValue(options->active, cells[c], DM_ADAPT_RE… in ProcessOptions()
61 static PetscErrorCode CreateTransform(DM dm, DMLabel active, const char prefix[], DMPlexTransform *… in CreateTransform() argument
68 PetscCall(DMPlexTransformSetActive(*tr, active)); in CreateTransform()
154 PetscCall(CreateTransform(dm, user.active, "first_", &tr)); in main()
163 if (user.concrete) PetscCall(CreateTransform(rdm, user.active, "second_", &tr2)); in main()
164 else PetscCall(CreateTransform(tdm, user.active, "second_", &tr2)); in main()
180 PetscCall(DMLabelDestroy(&user.active)); in main()
/petsc/src/dm/impls/plex/transform/impls/filter/
H A Dplextrfilter.c25 DMLabel active; in DMPlexTransformSetUp_Filter() local
30 PetscCall(DMPlexTransformGetActive(tr, &active)); in DMPlexTransformSetUp_Filter()
31 if (active) { in DMPlexTransformSetUp_Filter()
37 PetscCall(DMLabelGetStratumIS(active, DM_ADAPT_REFINE, &filterIS)); in DMPlexTransformSetUp_Filter()
38 PetscCall(DMLabelGetStratumSize(active, DM_ADAPT_REFINE, &Nc)); in DMPlexTransformSetUp_Filter()
/petsc/src/sys/mpiuni/
H A Dmpi.c31 int active; member
37 int active; /* Is this keyval in use by some comm? */ member
151 attr[CommIdx(MPI_COMM_WORLD)][0].active = 1; in Keyval_setup()
153 attr[CommIdx(MPI_COMM_SELF)][0].active = 1; in Keyval_setup()
155 attr_keyval[0].active = 1; in Keyval_setup()
166 if (!attr_keyval[i].active) { in MPI_Comm_create_keyval()
177 attr_keyval[keyid].active = 1; in MPI_Comm_create_keyval()
203 if (--attr_keyval[keyval].active <= 0) { in MPI_Attr_dereference_keyval()
212 ++attr_keyval[keyval].active; in MPI_Attr_reference_keyval()
234 attr[idx][keyval].active = 1; in MPI_Comm_set_attr()
[all …]
/petsc/lib/petsc/bin/maint/abi-compliance-checker/modules/Internals/Styles/
H A DTabs.css20 a.active:hover
25 a.active {
/petsc/include/
H A Dpetsclogtypes.h20 PetscBool active; /* Deprecated */ member
185 PetscBT active; member
/petsc/src/dm/impls/plex/transform/impls/refine/sbr/
H A Dplexrefsbr.c145 DMLabel active; in DMPlexTransformSetUp_SBR() local
166 PetscCall(DMPlexTransformGetActive(tr, &active)); in DMPlexTransformSetUp_SBR()
167 …PetscCheck(active, PetscObjectComm((PetscObject)tr), PETSC_ERR_ARG_WRONGSTATE, "DMPlexTransform mu… in DMPlexTransformSetUp_SBR()
169 PetscCall(DMLabelGetStratumIS(active, DM_ADAPT_REFINE, &refineIS)); in DMPlexTransformSetUp_SBR()
170 PetscCall(DMLabelGetStratumSize(active, DM_ADAPT_REFINE, &Nc)); in DMPlexTransformSetUp_SBR()
571 DMLabel active; in DMPlexTransformSetFromOptions_SBR() local
573 PetscCall(DMLabelCreate(PETSC_COMM_SELF, "Adaptation Label", &active)); in DMPlexTransformSetFromOptions_SBR()
574 for (i = 0; i < n; ++i) PetscCall(DMLabelSetValue(active, cells[i], DM_ADAPT_REFINE)); in DMPlexTransformSetFromOptions_SBR()
575 PetscCall(DMPlexTransformSetActive(tr, active)); in DMPlexTransformSetFromOptions_SBR()
576 PetscCall(DMLabelDestroy(&active)); in DMPlexTransformSetFromOptions_SBR()
/petsc/src/dm/impls/plex/transform/impls/extrude/
H A Dplextrextrude.c16 DMLabel active; in DMPlexTransformView_Extrude() local
23 PetscCall(DMPlexTransformGetActive(tr, &active)); in DMPlexTransformView_Extrude()
90 DMLabel active; in DMPlexTransformExtrudeComputeExtrusionDim() local
96 PetscCall(DMPlexTransformGetActive(tr, &active)); in DMPlexTransformExtrudeComputeExtrusionDim()
97 if (active) { in DMPlexTransformExtrudeComputeExtrusionDim()
104 PetscCall(DMLabelGetValueIS(active, &valueIS)); in DMPlexTransformExtrudeComputeExtrusionDim()
108 PetscCall(DMLabelGetStratumIS(active, values[v], &pointIS)); in DMPlexTransformExtrudeComputeExtrusionDim()
459 DMLabel active; in DMPlexTransformSetUp_Extrude() local
466 PetscCall(DMPlexTransformGetActive(tr, &active)); in DMPlexTransformSetUp_Extrude()
467 if (active) { in DMPlexTransformSetUp_Extrude()
[all …]
/petsc/src/dm/impls/plex/transform/impls/refine/bl/
H A Dplexrefbl.c20 DMLabel active; in DMPlexTransformSetUp_BL() local
26 PetscCall(DMPlexTransformGetActive(tr, &active)); in DMPlexTransformSetUp_BL()
27 if (active) { in DMPlexTransformSetUp_BL()
33 PetscCall(DMLabelGetStratumIS(active, DM_ADAPT_REFINE, &refineIS)); in DMPlexTransformSetUp_BL()
34 PetscCall(DMLabelGetStratumSize(active, DM_ADAPT_REFINE, &Nc)); in DMPlexTransformSetUp_BL()
520 DMLabel active; in DMPlexTransformSetFromOptions_BL() local
522 PetscCall(DMLabelCreate(PETSC_COMM_SELF, "Adaptation Label", &active)); in DMPlexTransformSetFromOptions_BL()
523 for (i = 0; i < n; ++i) PetscCall(DMLabelSetValue(active, cells[i], DM_ADAPT_REFINE)); in DMPlexTransformSetFromOptions_BL()
524 PetscCall(DMPlexTransformSetActive(tr, active)); in DMPlexTransformSetFromOptions_BL()
525 PetscCall(DMLabelDestroy(&active)); in DMPlexTransformSetFromOptions_BL()
/petsc/src/dm/impls/swarm/
H A Ddata_bucket.c110 if (db->field[f]->active) { in DMSwarmDataBucketQueryForActiveFields()
331 …PetscCheck(!gfield->active, PETSC_COMM_SELF, PETSC_ERR_USER, "Field \"%s\" is already active. You … in DMSwarmDataFieldGetAccess()
332 gfield->active = PETSC_TRUE; in DMSwarmDataFieldGetAccess()
345 …PetscCheck(gfield->active != PETSC_FALSE, PETSC_COMM_SELF, PETSC_ERR_USER, "Field \"%s\" is not ac… in DMSwarmDataFieldAccessPoint()
363 …PetscCheck(gfield->active != PETSC_FALSE, PETSC_COMM_SELF, PETSC_ERR_USER, "Field \"%s\" is not ac… in DMSwarmDataFieldAccessPointOffset()
372 …PetscCheck(gfield->active != PETSC_FALSE, PETSC_COMM_SELF, PETSC_ERR_USER, "Field \"%s\" is not ac… in DMSwarmDataFieldRestoreAccess()
373 gfield->active = PETSC_FALSE; in DMSwarmDataFieldRestoreAccess()
/petsc/src/ksp/ksp/tutorials/output/
H A Dex71_bddc_elast_4lev.out36 Adaptive constraint selection threshold (active 0, userdefined 0): 0.
45 Benign subspace trick is active: 0
149 Adaptive constraint selection threshold (active 0, userdefined 0): 0.
158 Benign subspace trick is active: 0
268 Adaptive constraint selection threshold (active 0, userdefined 0): 0.
277 Benign subspace trick is active: 0
H A Dex59_bddc_fetidp_ml_2.out36 Adaptive constraint selection threshold (active 0, userdefined 0): 0.
45 Benign subspace trick is active: 0
147 Adaptive constraint selection threshold (active 0, userdefined 0): 0.
156 Benign subspace trick is active: 0
H A Dex59_bddc_fetidp_ml_1.out36 Adaptive constraint selection threshold (active 0, userdefined 0): 0.
45 Benign subspace trick is active: 0
147 Adaptive constraint selection threshold (active 0, userdefined 0): 0.
156 Benign subspace trick is active: 0
H A Dex71_bddc_elast_3lev.out36 Adaptive constraint selection threshold (active 0, userdefined 0): 0.
45 Benign subspace trick is active: 0
149 Adaptive constraint selection threshold (active 0, userdefined 0): 0.
158 Benign subspace trick is active: 0
H A Dex71_bddc_elast_3lev_alt.out36 Adaptive constraint selection threshold (active 0, userdefined 0): 0.
45 Benign subspace trick is active: 0
149 Adaptive constraint selection threshold (active 0, userdefined 0): 0.
158 Benign subspace trick is active: 0
H A Dex71_bddc_elast_deluxe_layers_adapt_cuda_approx_mat_is_localmat_type-seqaij.out36 Adaptive constraint selection threshold (active 1, userdefined 0): 2.
45 Benign subspace trick is active: 0
81 #equations | #active PEs | avg nnz/row op | avg nnz/row int
178 #equations | #active PEs | avg nnz/row op | avg nnz/row int
H A Dex71_bddc_elast_deluxe_layers_adapt_cuda_approx_mat_is_localmat_type-seqaijcusparse.out36 Adaptive constraint selection threshold (active 1, userdefined 0): 2.
45 Benign subspace trick is active: 0
81 #equations | #active PEs | avg nnz/row op | avg nnz/row int
178 #equations | #active PEs | avg nnz/row op | avg nnz/row int
H A Dex71_bddc_elast_both_approx.out37 Adaptive constraint selection threshold (active 0, userdefined 0): 0.
46 Benign subspace trick is active: 0
82 #equations | #active PEs | avg nnz/row op | avg nnz/row int
184 #equations | #active PEs | avg nnz/row op | avg nnz/row int
H A Dex71_bddc_elast_dir_approx.out37 Adaptive constraint selection threshold (active 0, userdefined 0): 0.
46 Benign subspace trick is active: 0
82 #equations | #active PEs | avg nnz/row op | avg nnz/row int
H A Dex71_bddc_elast_neu_approx.out37 Adaptive constraint selection threshold (active 0, userdefined 0): 0.
46 Benign subspace trick is active: 0
109 #equations | #active PEs | avg nnz/row op | avg nnz/row int
/petsc/doc/manualpages/doctext/
H A Dmyst.def8 # Note that the definition lists require the MyST "deflist" extension to be active
/petsc/src/dm/impls/plex/transform/interface/
H A Dplextransform.c335 char typeName[1024], active[PETSC_MAX_PATH_LEN]; in DMPlexTransformSetFromOptions() local
348 …e", "Name for active mesh label", "DMPlexTransformSetActive", active, active, sizeof(active), &flg… in DMPlexTransformSetFromOptions()
356 PetscCall(DMGetLabel(dm, active, &label)); in DMPlexTransformSetFromOptions()
408 PetscCall(DMLabelDestroy(&(*tr)->active)); in DMPlexTransformDestroy()
734 PetscErrorCode DMPlexTransformGetActive(DMPlexTransform tr, DMLabel *active) in DMPlexTransformGetActive() argument
738 PetscAssertPointer(active, 2); in DMPlexTransformGetActive()
739 *active = tr->active; in DMPlexTransformGetActive()
757 PetscErrorCode DMPlexTransformSetActive(DMPlexTransform tr, DMLabel active) in DMPlexTransformSetActive() argument
761 if (active) PetscValidHeaderSpecific(active, DMLABEL_CLASSID, 2); in DMPlexTransformSetActive()
762 PetscCall(PetscObjectReference((PetscObject)active)); in DMPlexTransformSetActive()
[all …]
/petsc/src/tao/bound/utils/
H A Disutil.c184 …tscReal *bound_tol, IS *active_lower, IS *active_upper, IS *active_fixed, IS *active, IS *inactive) in TaoEstimateActiveBounds() argument
231 PetscCall(ISDestroy(active)); in TaoEstimateActiveBounds()
311 PetscCall(ISCreateGeneral(comm, n_isa, isa, PETSC_OWN_POINTER, active)); in TaoEstimateActiveBounds()

1234