Home
last modified time | relevance | path

Searched refs:PetscBool (Results 1 – 25 of 1941) sorted by relevance

12345678910>>...78

/petsc/include/petsc/private/
H A Dpcbddcimpl.h54 PetscBool new_primal_space;
55 PetscBool new_primal_space_local;
60 PetscBool use_change_of_basis;
61 PetscBool use_change_on_faces;
62 PetscBool fake_change;
65 PetscBool change_interior;
71 PetscBool use_exact_dirichlet_trick;
72 PetscBool exact_dirichlet_trick_app;
73 PetscBool ksp_guess_nonzero;
74 PetscBool rhs_change;
[all …]
H A Dpcbddcstructsimpl.h15 PetscBool touched;
22 PetscBool shared;
29 PetscBool setupcalled;
36 PetscBool twodim;
37 PetscBool twodimset;
38 PetscBool has_dirichlet;
39 PetscBool multi_element;
42 PetscBool seq_graph;
48 PetscBool queue_sorted;
63 PetscBool freecsr;
[all …]
H A Dpcbddcprivateimpl.h11 PETSC_EXTERN PetscErrorCode PCBDDCLoadOrViewCustomization(PC, PetscBool, const char *);
42 PETSC_INTERN PetscErrorCode PCBDDCNullSpaceAssembleCorrection(PC, PetscBool, PetscBool);
49 PETSC_INTERN PetscErrorCode PCBDDCSetUpLocalSolvers(PC, PetscBool, PetscBool);
55 PETSC_INTERN PetscErrorCode PCBDDCApplyInterfacePreconditioner(PC, PetscBool);
57 PETSC_INTERN PetscErrorCode PCBDDCSetUseExactDirichlet(PC, PetscBool);
63 PETSC_INTERN PetscErrorCode PCBDDCDetectDisconnectedComponents(PC, PetscBool, PetscInt *, IS *[], I…
64 …N PetscErrorCode PCBDDCReuseSolversBenignAdapt(PCBDDCReuseSolvers, Vec, Vec, PetscBool, PetscBool);
65 PETSC_INTERN PetscErrorCode PCBDDCComputeNoNetFlux(Mat, Mat, PetscBool, IS, PCBDDCGraph, MatNullSpa…
66 PETSC_INTERN PetscErrorCode PCBDDCNullSpaceCreate(MPI_Comm, PetscBool, PetscInt, Vec[], MatNullSpac…
69 …etscErrorCode PCBDDCComputeFakeChange(PC, PetscBool, PCBDDCGraph, PCBDDCSubSchurs, Mat *, IS *, IS…
[all …]
H A Disimpl.h8 PETSC_INTERN PetscBool ISRegisterAllCalled;
9 PETSC_INTERN PetscBool ISLocalToGlobalMappingRegisterAllCalled;
23 PetscErrorCode (*sorted)(IS, PetscBool *);
32 PetscErrorCode (*contiguous)(IS, PetscInt, PetscInt, PetscInt *, PetscBool *);
34 PetscErrorCode (*sortedlocal)(IS, PetscBool *);
35 PetscErrorCode (*sortedglobal)(IS, PetscBool *);
36 PetscErrorCode (*uniquelocal)(IS, PetscBool *);
37 PetscErrorCode (*uniqueglobal)(IS, PetscBool *);
38 PetscErrorCode (*permlocal)(IS, PetscBool *);
39 PetscErrorCode (*permglobal)(IS, PetscBool *);
[all …]
H A Dpcpatchimpl.h10 PETSC_INTERN PetscBool PCPatchcite;
21 PetscBool user_patches; /* Flag for user construction of patches */
34 PetscBool combined; /* Use a combined space with all fields */
76PetscBool save_operators; /* Save all operators (or create/destroy one at a time?)…
77PetscBool precomputeElementTensors; /* Precompute all element tensors (each cell is assemble…
80 PetscBool partition_of_unity; /* Weight updates by dof multiplicity? */
81 PetscBool multiplicative; /* Gauss-Seidel instead of Jacobi? */
98PetscBool symmetrise_sweep; /* Should we sweep forwards->backwards, backwards->fo…
99 PetscBool optionsSet; /* SetFromOptions was called on this PC */
103PetscBool denseinverse; /* Should the patch inverse by applied by computing t…
[all …]
H A Dtsimpl.h21 PETSC_EXTERN PetscBool TSRegisterAllCalled;
43 PetscErrorCode (*evaluatestep)(TS, PetscInt, Vec, PetscBool *);
68 PetscErrorCode (*resizeregister)(TS, PetscBool);
102 PetscBool *TT; /* workspace for Lagrange */
106 PetscBool caching;
121 PetscBool usehistory; /* whether to use TSHistory */
122 PetscBool solution_only; /* whether we dump just the solution or also the stages */
123PetscBool adjoint_solve_mode; /* whether we will use the Trajectory inside a TSAdjointSolve() or…
125 PetscBool setupcalled; /* true if setup has been called */
129PetscBool keepfiles; /* keep the files generated during the run after the run is co…
[all …]
H A Dsnesimpl.h8 PETSC_EXTERN PetscBool SNESRegisterAllCalled;
42 PetscBool dmAuto; /* SNES created currently used DM automatically */
45 PetscBool usesnpc; /* type can use a nonlinear preconditioner */
61 PetscBool usesksp;
79PetscBool pauseFinal; /* pause all drawin…
89 PetscBool errorifnotconverged;
93 PetscBool setupcalled; /* true if setup has been called */
104PetscBool forceiteration; /* Force SNES to take at least one iteration reg…
108 PetscBool lagjac_persist; /* The jac_iter persists until reset */
110 PetscBool lagpre_persist; /* The pre_iter persists until reset */
[all …]
H A Dtaoimpl.h7 PETSC_EXTERN PetscBool TaoRegisterAllCalled;
71 PetscBool setupcalled;
138 PetscBool lsflag; /* goes up when line search fails */
143 PetscBool ksp_ewconv;
157 PetscBool printreason;
158 PetscBool viewsolution;
159 PetscBool viewgradient;
160 PetscBool viewconstraints;
161 PetscBool viewhessian;
162 PetscBool viewjacobian;
[all …]
H A Dpcmgimpl.h58PetscBool usedmfornumberoflevels; /* sets the number of levels by getting this information …
60PetscBool adaptInterpolation; /* flag to adapt the interpolator based upon the coarseSpa…
64 PetscBool mespMonitor; /* flag to monitor the multilevel eigensolver */
66PetscBool compatibleRelaxation; /* flag to monitor the coarse space quality using an auxiliary sol…
93 PETSC_INTERN PetscErrorCode DMSetBasisFunction_Internal(PetscInt, PetscBool, PetscInt, PetscErrorCo…
97 PETSC_INTERN PetscErrorCode PCMGACycle_Private(PC, PC_MG_Levels **, PetscBool, PetscBool);
98 PETSC_INTERN PetscErrorCode PCMGFCycle_Private(PC, PC_MG_Levels **, PetscBool, PetscBool);
99 PETSC_INTERN PetscErrorCode PCMGKCycle_Private(PC, PC_MG_Levels **, PetscBool, PetscBool);
100 PETSC_INTERN PetscErrorCode PCMGMCycle_Private(PC, PC_MG_Levels **, PetscBool, PetscBool, PCRichard…
H A Ddmswarmimpl.h8 PETSC_SINGLE_LIBRARY_INTERN PetscBool SwarmProjcite;
55 PetscBool field_registration_initialized;
56 PetscBool field_registration_finalized;
65 PetscBool issetup;
71 PetscBool migrate_error_on_missing_point;
73 PetscBool collect_view_active;
93 PetscBool isvalid;
99 PETSC_INTERN PetscErrorCode DMSwarmMigrate_Push_Basic(DM, PetscBool);
100 PETSC_INTERN PetscErrorCode DMSwarmMigrate_CellDMScatter(DM, PetscBool);
101 PETSC_INTERN PetscErrorCode DMSwarmMigrate_CellDMExact(DM, PetscBool);
H A Dsfimpl.h57PetscBool beginandendtogether; /* Indicates that the scatter begin and end function are …
63PetscBool logging; /* Indicate if vscat log events are happening. If yes, avo…
80 PetscBool monitor; /* monitor the sf communication */
84PetscBool leafcontig[2]; /* True means indices in rmine[self part] or rmine[remote part] a…
88PetscBool leafdups[2]; /* Indices in rmine[] for self(0)/remote(1) communication have du…
92 PetscBool degreeknown; /* The degree is currently known, do not have to recompute */
95 PetscBool rankorder; /* Sort ranks for gather and scatter operations */
100PetscBool graphset; /* Flag indicating that the graph has been set, required befo…
101 PetscBool setupcalled; /* Type and communication structures have been set up */
103PetscBool persistent; /* Does this SF use MPI persistent requests for communication…
[all …]
H A Dlinesearchimpl.h6 PETSC_EXTERN PetscBool SNESLineSearchRegisterAllCalled;
15 PetscErrorCode (*precheck)(SNESLineSearch, Vec, Vec, PetscBool *, void *);
19 PetscErrorCode (*postcheck)(SNESLineSearch, Vec, Vec, Vec, PetscBool *, PetscBool *, void *);
36 PetscBool setupcalled;
49 PetscBool norms;
53 PetscBool keeplambda;
69 PetscBool jacobiandomainerror; /* set with SNESSetJacobianDomainError() */
70PetscBool checkjacdomainerror; /* does it check Jacobian domain error after Jacobian evaluations */
116 PetscBool functiondomainerror; \
196 PetscBool jacobiandomainerror; \
H A Dtaolinesearchimpl.h27 PetscBool usemonitor;
30 PetscBool setupcalled;
31 PetscBool usegts;
32 PetscBool usetaoroutines;
33 PetscBool hasobjective;
34 PetscBool hasgradient;
35 PetscBool hasobjectiveandgradient;
41 PetscBool bounded;
/petsc/include/
H A Dpetscviewerhdf5.h30 …rrorCode PetscViewerHDF5PathIsRelative(const char path[], PetscBool emptyIsRelative, PetscBool *ha… in PetscViewerHDF5PathIsRelative()
37 if (len) *has = (PetscBool)(path[0] != '/'); in PetscViewerHDF5PathIsRelative()
54 PETSC_EXTERN PetscErrorCode PetscViewerHDF5HasDataset(PetscViewer, const char[], PetscBool *);
55 PETSC_EXTERN PetscErrorCode PetscViewerHDF5HasObject(PetscViewer, PetscObject, PetscBool *);
58 …N PetscErrorCode PetscViewerHDF5HasAttribute(PetscViewer, const char[], const char[], PetscBool *);
61 …scErrorCode PetscViewerHDF5HasObjectAttribute(PetscViewer, PetscObject, const char[], PetscBool *);
67 PETSC_EXTERN PetscErrorCode PetscViewerHDF5HasGroup(PetscViewer, const char[], PetscBool *);
71 PETSC_EXTERN PetscErrorCode PetscViewerHDF5SetDefaultTimestepping(PetscViewer, PetscBool);
72 PETSC_EXTERN PetscErrorCode PetscViewerHDF5GetDefaultTimestepping(PetscViewer, PetscBool *);
75 PETSC_EXTERN PetscErrorCode PetscViewerHDF5IsTimestepping(PetscViewer, PetscBool *);
[all …]
H A Dpetscoptions.h28 PETSC_EXTERN PetscErrorCode PetscOptionsHasHelp(PetscOptions, PetscBool *);
29 PETSC_EXTERN PetscErrorCode PetscOptionsHasName(PetscOptions, const char[], const char[], PetscBool
30 …cErrorCode PetscOptionsGetBool(PetscOptions, const char[], const char[], PetscBool *, PetscBool *);
31 …rrorCode PetscOptionsGetBool3(PetscOptions, const char[], const char[], PetscBool3 *, PetscBool *);
32 …tscErrorCode PetscOptionsGetInt(PetscOptions, const char[], const char[], PetscInt *, PetscBool *);
33 …orCode PetscOptionsGetMPIInt(PetscOptions, const char[], const char[], PetscMPIInt *, PetscBool *);
34 …nsGetEnum(PetscOptions, const char[], const char[], const char *const *, PetscEnum *, PetscBool *);
35 …(PetscOptions, const char[], const char[], const char *const *, PetscInt, PetscInt *, PetscBool *);
36 …cErrorCode PetscOptionsGetReal(PetscOptions, const char[], const char[], PetscReal *, PetscBool *);
37 …orCode PetscOptionsGetScalar(PetscOptions, const char[], const char[], PetscScalar *, PetscBool *);
[all …]
H A Dpetscpc.h68 PETSC_EXTERN PetscErrorCode PCApplyTransposeExists(PC, PetscBool *);
70 PETSC_EXTERN PetscErrorCode PCSetReusePreconditioner(PC, PetscBool);
71 PETSC_EXTERN PetscErrorCode PCGetReusePreconditioner(PC, PetscBool *);
72 PETSC_EXTERN PetscErrorCode PCSetErrorIfFailure(PC, PetscBool);
76 …ichardson(PC, Vec, Vec, Vec, PetscReal, PetscReal, PetscReal, PetscInt, PetscBool, PetscInt *, PCR…
77 PETSC_EXTERN PetscErrorCode PCApplyRichardsonExists(PC, PetscBool *);
78 PETSC_EXTERN PetscErrorCode PCSetUseAmat(PC, PetscBool);
79 PETSC_EXTERN PetscErrorCode PCGetUseAmat(PC, PetscBool *);
113 PETSC_EXTERN PetscErrorCode PCGetOperatorsSet(PC, PetscBool *, PetscBool *);
135 PETSC_EXTERN PetscErrorCode PCGetDiagonalScale(PC, PetscBool *);
[all …]
H A Dpetscdualspace.h106 PETSC_EXTERN PetscErrorCode PetscDualSpaceGetUniform(PetscDualSpace, PetscBool *);
133 PETSC_EXTERN PetscErrorCode PetscDualSpaceEqual(PetscDualSpace, PetscDualSpace, PetscBool *);
144 PETSC_EXTERN PetscErrorCode PetscDualSpaceLagrangeGetContinuity(PetscDualSpace, PetscBool *);
145 PETSC_EXTERN PetscErrorCode PetscDualSpaceLagrangeSetContinuity(PetscDualSpace, PetscBool);
146 PETSC_EXTERN PetscErrorCode PetscDualSpaceLagrangeGetTensor(PetscDualSpace, PetscBool *);
147 PETSC_EXTERN PetscErrorCode PetscDualSpaceLagrangeSetTensor(PetscDualSpace, PetscBool);
148 PETSC_EXTERN PetscErrorCode PetscDualSpaceLagrangeGetTrimmed(PetscDualSpace, PetscBool *);
149 PETSC_EXTERN PetscErrorCode PetscDualSpaceLagrangeSetTrimmed(PetscDualSpace, PetscBool);
150 …ode PetscDualSpaceLagrangeGetNodeType(PetscDualSpace, PetscDTNodeType *, PetscBool *, PetscReal *);
151 …ErrorCode PetscDualSpaceLagrangeSetNodeType(PetscDualSpace, PetscDTNodeType, PetscBool, PetscReal);
[all …]
H A Dpetscdmplex.h31 PETSC_EXTERN PetscErrorCode DMPlexCreateCohesiveSubmesh(DM, PetscBool, const char[], PetscInt, DM *…
32 …eateFromCellListPetsc(MPI_Comm, PetscInt, PetscInt, PetscInt, PetscInt, PetscBool, const PetscInt[…
33 …rallelPetsc(MPI_Comm, PetscInt, PetscInt, PetscInt, PetscInt, PetscInt, PetscBool, const PetscInt[…
34 …arallel(MPI_Comm, PetscInt, PetscInt, PetscInt, PetscInt, PetscSection, PetscBool, const PetscInt[…
66 PETSC_EXTERN PetscErrorCode DMPlexEqual(DM, DM, PetscBool *);
70 …xPreallocateOperator(DM, PetscInt, PetscInt[], PetscInt[], PetscInt[], PetscInt[], Mat, PetscBool);
120 PETSC_EXTERN PetscErrorCode DMPlexGetInterpolatePreferTensor(DM, PetscBool *);
121 PETSC_EXTERN PetscErrorCode DMPlexSetInterpolatePreferTensor(DM, PetscBool);
123 PETSC_EXTERN PetscErrorCode DMPlexFilter(DM, DMLabel, PetscInt, PetscBool, PetscBool, MPI_Comm, Pet…
128 PETSC_EXTERN PetscErrorCode DMPlexCreateCellNumbering(DM, PetscBool, IS *);
[all …]
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A Dpetscdmplex.pxi18 PetscErrorCode DMPlexCreateCohesiveSubmesh(PetscDM, PetscBool, const char[], PetscInt, PetscDM*)
19 …eateFromCellListPetsc(MPI_Comm, PetscInt, PetscInt, PetscInt, PetscInt, PetscBool, PetscInt[], Pet…
65 PetscErrorCode DMPlexGetTransitiveClosure(PetscDM, PetscInt, PetscBool, PetscInt*, PetscInt*[])
66 …PetscErrorCode DMPlexRestoreTransitiveClosure(PetscDM, PetscInt, PetscBool, PetscInt*, PetscInt*[])
72 PetscErrorCode DMPlexGenerate(PetscDM, const char[], PetscBool , PetscDM*)
75 …Mesh(MPI_Comm, PetscInt, PetscBool, PetscInt[], PetscReal[], PetscReal[], PetscDMBoundaryType[], P…
76 …CreateBoxSurfaceMesh(MPI_Comm, PetscInt, PetscInt[], PetscReal[], PetscReal[], PetscBool, PetscDM*)
77 PetscErrorCode DMPlexCreateFromFile(MPI_Comm, const char[], const char[], PetscBool, PetscDM*)
78 PetscErrorCode DMPlexCreateCGNS(MPI_Comm, PetscInt, PetscBool, PetscDM*)
79 PetscErrorCode DMPlexCreateCGNSFromFile(MPI_Comm, const char[], PetscBool, PetscDM*)
[all …]
/petsc/src/sys/utils/
H A Dmathinf.c24 PetscBool PetscIsNormalReal(PetscReal a) in PetscIsNormalReal()
29 PetscBool PetscIsNormalReal(PetscReal a) in PetscIsNormalReal()
34 PetscBool PetscIsNormalReal(PetscReal a) in PetscIsNormalReal()
62 PetscBool PetscIsInfReal(PetscReal a) in PetscIsInfReal()
67 PETSC_FORCE_NO_FINITE_MATH_ONLY PetscBool PetscIsInfReal(PetscReal a) in PetscIsInfReal()
78 PetscBool PetscIsInfReal(PetscReal a) in PetscIsInfReal()
83 PetscBool PetscIsInfReal(PetscReal a) in PetscIsInfReal()
106 PetscBool PetscIsNanReal(PetscReal a) in PetscIsNanReal()
111 PETSC_FORCE_NO_FINITE_MATH_ONLY PetscBool PetscIsNanReal(PetscReal a) in PetscIsNanReal()
122 PetscBool PetscIsNanReal(PetscReal a) in PetscIsNanReal()
[all …]
/petsc/src/sys/objects/device/impls/
H A Dimpldevicebase.hpp49 …Comm, std::pair<PetscDeviceInitType, PetscBool> &, std::pair<PetscInt, PetscBool> &, std::pair<Pet…
53 …tems, std::pair<PetscDeviceInitType, PetscBool> &, std::pair<PetscInt, PetscBool> &, std::pair<Pet…
63 …rorCode PetscOptionDeviceInitialize(PetscOptionItems, PetscDeviceInitType *, PetscBool *) noexcept;
67 static PetscErrorCode PetscOptionDeviceSelect(PetscOptionItems, PetscInt *, PetscBool *) noexcept;
71 static PetscErrorCode PetscOptionDeviceView(PetscOptionItems, PetscBool *, PetscBool *) noexcept;
160 …alize(PetscOptionItems PetscOptionsObject, PetscDeviceInitType *inittype, PetscBool *flag) noexcept in PetscOptionDeviceInitialize()
180 …etscOptionDeviceSelect(PetscOptionItems PetscOptionsObject, PetscInt *id, PetscBool *flag) noexcept in PetscOptionDeviceSelect()
197 …D>::PetscOptionDeviceView(PetscOptionItems PetscOptionsObject, PetscBool *view, PetscBool *flag) n… in PetscOptionDeviceView()
205 …td::pair<PetscDeviceInitType, PetscBool> &initType, std::pair<PetscInt, PetscBool> &initId, std::p… in PetscOptionDeviceBasic() argument
215 …td::pair<PetscDeviceInitType, PetscBool> &initType, std::pair<PetscInt, PetscBool> &initId, std::p… in PetscOptionDeviceAll() argument
/petsc/src/tao/bound/impls/bncg/
H A Dbncg.h39 PetscBool inv_sig;
41 PetscBool dynamic_restart; /* Keeps track of whether or not to do a dynamic (KD) restart */
42 PetscBool spaced_restart; /* If true, restarts the CG method every x*n iterations */
43 PetscBool use_dynamic_restart;
44 PetscBool neg_xi;
45 PetscBool unscaled_restart; /* Gradient descent restarts are done without rescaling*/
46 PetscBool diag_scaling;
47 PetscBool no_scaling;
55 … TaoBNCGStepDirectionUpdate(Tao, PetscReal, PetscReal, PetscReal, PetscReal, PetscReal, PetscBool);
58 …ErrorCode TaoBNCGCheckDynamicRestart(Tao, PetscReal, PetscReal, PetscReal, PetscBool *, PetscReal);
/petsc/src/snes/impls/ntrdc/
H A Dntrdcimpl.h32 PetscBool itflag; /* flag for convergence testing */
33 PetscBool use_cauchy; /* flag to use/not use Cauchy step and direction (S&D) */
34PetscBool auto_scale_multiphase; /* flag to use/not use autoscaling for Cauchy S&D for multiphase*/
36 PetscBool rho_satisfied; /* flag for whether inner iteration satisfied rho */
38 PetscErrorCode (*precheck)(SNES, Vec, Vec, PetscBool *, void *);
40 PetscErrorCode (*postcheck)(SNES, Vec, Vec, Vec, PetscBool *, PetscBool *, void *);
/petsc/src/snes/linesearch/interface/ftn-custom/
H A Dzlinesearchf.c18 static PetscErrorCode oursneslinesearchprecheck(SNESLineSearch linesearch, Vec X, Vec Y, PetscBool in oursneslinesearchprecheck()
21 …PetscCallFortranVoidFunction((*(void (*)(SNESLineSearch *, Vec *, Vec *, PetscBool *, void *, Pets… in oursneslinesearchprecheck()
25 …rchpostcheck(SNESLineSearch linesearch, Vec X, Vec Y, Vec W, PetscBool *changed_Y, PetscBool *chan… in oursneslinesearchpostcheck()
28 …nVoidFunction((*(void (*)(SNESLineSearch *, Vec *, Vec *, Vec *, PetscBool *, PetscBool *, void *,… in oursneslinesearchpostcheck()
32 …NESLineSearch *linesearch, void (*func)(SNESLineSearch *, Vec *, Vec *, PetscBool *, PetscErrorCod… in sneslinesearchsetprecheck_() argument
40 …*linesearch, void (*func)(SNESLineSearch *, Vec *, Vec *, Vec *, PetscBool *, PetscBool *, PetscEr… in sneslinesearchsetpostcheck_() argument
/petsc/src/ts/impls/arkimex/
H A Darkimex.h4 PetscBool additive; /* If False, it is a DIRK method */
7 PetscBool stiffly_accurate; /* The implicit part is stiffly accurate */
8 PetscBool FSAL_implicit; /* The implicit part is FSAL */
9 PetscBool explicit_first_stage; /* The implicit part has an explicit first stage */
38 PetscBool imex;
39 PetscBool extrapolate; /* Extrapolate initial guess from previous time-step stage values */
49 PetscBool fastslowsplit;

12345678910>>...78