Home
last modified time | relevance | path

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

/petsc/config/BuildSystem/config/
H A Dheaders.py71 def getDefineMacro(self, macro): argument
72 return 'HAVE_MACRO_'+macro
89 def checkInclude(self, incl, hfiles, otherIncludes = [], macro = None, timeout = 600.0): argument
96 if macro is not None:
97 strmac = 'defined macro {} in '.format(macro)
108 if macro is not None:
109 body += '#if !defined({})\n#error {} not defined\n#endif\n'.format(macro,macro)
113 if found and macro is not None:
114 self.addDefine(self.getDefineMacro(macro), 1)
115 if not found and macro is None: return 0
[all …]
H A Dpackage.py969 for macro in self.macros:
970 …self.executeTest(self.headers.checkInclude, [self.include, self.includes], {'macro' : macro, 'time…
/petsc/doc/changes/
H A D2017.md159 - Also, SETERRQ() and SETERRA() now use the macro \_\_FUNC\_\_ to keep
162 desired by setting this macro before each user-defined routine
192 - Added the macro PetscDoubleExp(a,b) = a d b (machines where double
194 precision arithmetic is used, e.g., Crays) This macro is intended
H A Ddev.md159 …represented in the C source code with an argument type of `PetscCtxRt`, a macro is generated used …
H A D35.md29 - The `__SDIR__` macro (and `__INSDIR__`) is no longer used. We
H A D2028.md173 - So long as you have defined the macro \_\_FUNC\_\_ "main" before
H A D320.md230 - Add `PLEXFE_QFUNCTION` macro to create CEED QFunctions from Plex pointwise functions
H A D32.md57 - The make macro PETSC_INCLUDE has been replaced by
H A D319.md85 …return a `PetscErrorCode`, should now explicitly cast the "result" of the macro with `PetscErrorCo…
H A D317.md53 - Add `PetscHasAttribute()` macro to query for existence of an `__attribute__` specifier
/petsc/doc/developers/
H A Dkernel.md62 The simplified macro-based interface consists of the following two
68 The macro `SETERRQ()` is given by
83 The macro `PetscCall()` is defined by
156 in *func* and then calls `SETERRQ()`. The macro `CHKERRCXX(func)` is given by
206 boundaries; the macro generated by configure `PETSCMEMALIGN` indicates
H A Dstyle.md20 02. All enum elements and macro variables are named with all capital
190 `PetscCall()` macro. This should be wrapped around the function in question.
309 `PetscDesignatedInitializer()` macro.
385 a macro that is usable in both.
393 the macro's name if the first directive tests whether one is defined. One
400 #else // MY_MACRO (use name of macro)
591 a formatted comment of a CPP macro or enum value for documentation.
614 Each function, typedef, class, macro, enum, and so on in the public API
623 02. If documenting a function implemented with a preprocessor macro
H A Dobjects.md191 The third argument to this macro indicates the position in the calling
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/
H A DREADME.rst102 1. Provide a non-macro stub for your function, that is guarded by
106 a macro.
167 macro. The keys to this dictionary is ultimately what the linter uses to determine
/petsc/src/sys/yaml/
H A DREADME.md17 * The macro `YAML_DECLARE()` in `yaml.h` has been modified to specify
/petsc/lib/petsc/conf/
H A Drules49 grep -v "warning C4003: not enough actual parameters for macro 'PETSC_PASTE3_" | \
51 grep -v "note: expanded from macro" |\
104 grep -v "warning: In-place macro substitution leaves line truncated" | \
/petsc/src/binding/petsc4py/conf/
H A Dconfpetsc.py925 macro = (value[:idx], value[idx + 1 :])
927 macro = (value, None)
928 append(conf['define_macros'], macro)
/petsc/src/binding/petsc4py/
H A DCHANGES.rst276 - Added a quick fix to solve build issues. The macro __SDIR__ is no
/petsc/doc/manual/
H A Dother.md565 Note that the macro `PETSC_FUNCTION_NAME` is used to keep track of
567 macro in their application codes; however, users can take advantage of
568 this feature if desired by setting this macro before each user-defined
H A Dgetting_started.md476 , etc.). The macro `CHKMEMQ` can be called anywhere in the code to check
/petsc/doc/faq/
H A Dindex.md1865 problem is from memory corruption you can put the macro CHKMEMQ in the code near the crash
/petsc/doc/
H A Dpetsc.bib3109 …title = {Robust multigrid methods for nearly incompressible elasticity using macro element…
33721 @InCollection{ manne:eta-macro,