Searched refs:constructor (Results 1 – 8 of 8) sorted by relevance
29 PetscErrorCode (*constructor)(Entry *) = Constructor; \35 if (constructor) { \59 PetscErrorCode (*constructor)(Entry *) = Constructor; \66 if (constructor) { \80 PetscErrorCode (*constructor)(Entry *) = Constructor; \83 if (constructor) \84 for (int i = a->num_entries; i < new_size; i++) PetscCall((*constructor)(&a->array[i])); \
351 PETSC_NODISCARD constructor_type &constructor() noexcept { return pair_.first(); } in constructor() function in Petsc::ObjectPool352 PETSC_NODISCARD const constructor_type &constructor() const noexcept { return pair_.first(); } in constructor() function in Petsc::ObjectPool382 PetscCall(this->constructor().destroy(static_cast<value_type *>(ptr))); in finalize_()432 PetscCall(this->constructor().reset(*obj, std::forward<Args>(args)...)); in allocate()434 PetscCall(this->constructor().construct(*obj, std::forward<Args>(args)...)); in allocate()455 PetscCall(this->constructor().invalidate(*obj)); in deallocate()
613 …ashTable<V, H, KE>::find_and_emplace_final_(KeyType &&key, ValueConstructor &&constructor) noexcept in find_and_emplace_final_() argument658 PetscCallCXXAbort(PETSC_COMM_SELF, values_[it] = constructor()); in find_and_emplace_final_()
48 If a class has a non-trivial constructor, the arguments of the constructor and
160 constructor = (198 for name in constructor:
31 but more commonly, a `DM` is created with a type-specific constructor; the construction process for…
1097 constructor (or the `-mat_type` from the command line). For instance,
231 PetscDualSpace: it is now a constructor alias for