MAJ terminée. Nous sommes passés en version 14.6.2 . Pour consulter les "releases notes" associées c'est ici :

https://about.gitlab.com/releases/2022/01/11/security-release-gitlab-14-6-2-released/
https://about.gitlab.com/releases/2022/01/04/gitlab-14-6-1-released/

SnesMacro.hpp 844 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//! \file
//
//
//  SnesMacro.hpp
//  MoReFEM
//
//  Created by sebastien on 05/09/2018.
//Copyright © 2018 Inria. All rights reserved.
//

#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_

# ifdef MOREFEM_NO_TRAP_SNES_EXCEPTION

#  define MOREFEM_TRAP_SNES_EXCEPTION_TRY
#  define MOREFEM_TRAP_SNES_EXCEPTION_CATCH(Snes)

# else // MOREFEM_NO_TRAP_SNES_EXCEPTION

#  define MOREFEM_TRAP_SNES_EXCEPTION_TRY try
#  define MOREFEM_TRAP_SNES_EXCEPTION_CATCH(Snes) \
    catch(const std::exception& e) \
    { \
    std::cerr << "Exception caught in the Petsc Snes definition: " << e.what() << std::endl; \
    return PETSC_ERR_MIN_VALUE; \
    }

# endif // MOREFEM_NO_TRAP_SNES_EXCEPTION


#endif // MOREFEM_x_THIRD_PARTY_x_WRAPPERS_x_PETSC_x_SNES_MACRO_HPP_