Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MoReFEM
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MoReFEM
CoreLibrary
MoReFEM
Commits
ab4f7c97
Commit
ab4f7c97
authored
6 years ago
by
GILLES Sebastien
Browse files
Options
Downloads
Patches
Plain Diff
#1340
Fix Doxygen warnings.
parent
e09c1895
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Sources/ThirdParty/Wrappers/Petsc/SnesMacro.hpp
+15
-0
15 additions, 0 deletions
Sources/ThirdParty/Wrappers/Petsc/SnesMacro.hpp
with
15 additions
and
0 deletions
Sources/ThirdParty/Wrappers/Petsc/SnesMacro.hpp
+
15
−
0
View file @
ab4f7c97
...
...
@@ -11,6 +11,11 @@
#ifndef MOREFEM_x_THIRD_PARTY_x_WRAPPERS_x_PETSC_x_SNES_MACRO_HPP_
# define MOREFEM_x_THIRD_PARTY_x_WRAPPERS_x_PETSC_x_SNES_MACRO_HPP_
// ============================
//! \cond IGNORE_BLOCK_IN_DOXYGEN
// ============================
# ifdef MOREFEM_NO_TRAP_SNES_EXCEPTION
# define MOREFEM_TRAP_SNES_EXCEPTION_TRY
...
...
@@ -18,6 +23,11 @@
# else // MOREFEM_NO_TRAP_SNES_EXCEPTION
/*!
* If the macro is not defined, in standard SnesInterface functions exceptions are caught and transformed into
* Petsc error codes. This prevent libc++ abi issues if exceptions are thrown from one of functions fed to Petsc
* through a pointer.
*/
# define MOREFEM_TRAP_SNES_EXCEPTION_TRY try
# define MOREFEM_TRAP_SNES_EXCEPTION_CATCH(Snes) \
catch(const std::exception& e) \
...
...
@@ -29,4 +39,9 @@
# endif // MOREFEM_NO_TRAP_SNES_EXCEPTION
// ============================
//! \endcond IGNORE_BLOCK_IN_DOXYGEN
// ============================
#endif // MOREFEM_x_THIRD_PARTY_x_WRAPPERS_x_PETSC_x_SNES_MACRO_HPP_
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment