GetFEM  5.5
getfem_HHO.h
Go to the documentation of this file.
1 /* -*- c++ -*- (enables emacs c++ mode) */
2 /*===========================================================================
3 
4  Copyright (C) 2019-2026 Yves Renard
5 
6  This file is a part of GetFEM
7 
8  GetFEM is free software; you can redistribute it and/or modify it
9  under the terms of the GNU Lesser General Public License as published
10  by the Free Software Foundation; either version 3 of the License, or
11  (at your option) any later version along with the GCC Runtime Library
12  Exception either version 3.1 or (at your option) any later version.
13  This program is distributed in the hope that it will be useful, but
14  WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15  or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
16  License and GCC Runtime Library Exception for more details.
17  You should have received a copy of the GNU Lesser General Public License
18  along with this program. If not, see https://www.gnu.org/licenses/.
19 
20  As a special exception, you may use this file as it is a part of a free
21  software library without restriction. Specifically, if other files
22  instantiate templates or use macros or inline functions from this file,
23  or you compile this file and link it with other files to produce an
24  executable, this file does not by itself cause the resulting executable
25  to be covered by the GNU Lesser General Public License. This exception
26  does not however invalidate any other reasons why the executable file
27  might be covered by the GNU Lesser General Public License.
28 
29 ===========================================================================*/
30 /**@file getfem_HHO.h
31  @author Yves Renard <Yves.Renard@insa-lyon.fr>
32  @date August 16, 2019.
33  @brief Tools for Hybrid-High-Order methods.
34 */
35 
36 #ifndef GETFEM_HHO_H__
37 #define GETFEM_HHO_H__
38 
39 #include "getfem_models.h"
40 
41 
42 namespace getfem {
43 
44  /** Add to the model the elementary transformation corresponding to the
45  reconstruction of a gradient for HHO methods.
46  The name is the name given to the elementary transformation.
47  */
48  void add_HHO_reconstructed_gradient(model &md, std::string name);
49 
50 
51  /** Add to the model the elementary transformation corresponding to
52  the reconstruction of a symmetrized gradient for HHO methods.
53  The name is the name given to the elementary transformation.
54  */
55  void add_HHO_reconstructed_symmetrized_gradient(model &md, std::string name);
56 
57  /** Add to the model the elementary transformation corresponding to the
58  reconstruction of the variable.
59  The name is the name given to the elementary transformation.
60  */
61  void add_HHO_reconstructed_value(model &md, std::string name);
62 
63  /** Add to the model the elementary transformation corresponding to the
64  reconstruction of the variable using a symmetrized gradient.
65  The name is the name given to the elementary transformation.
66  */
67  void add_HHO_reconstructed_symmetrized_value(model &md, std::string name);
68 
69  /** Add to the model the elementary transformation corresponding to the
70  HHO stabilization operator.
71  The name is the name given to the elementary transformation.
72  */
73  void add_HHO_stabilization(model &md, std::string name);
74 
75  /** Add to the model the elementary transformation corresponding to the
76  HHO stabilization operator using a symmetrized gradient.
77  The name is the name given to the elementary transformation.
78  */
79  void add_HHO_symmetrized_stabilization(model &md, std::string name);
80 
81 
82 } /* end of namespace getfem. */
83 
84 
85 #endif /* GETFEM_HHO_H__ */
Model representation in Getfem.
GEneric Tool for Finite Element Methods.
void add_HHO_symmetrized_stabilization(model &md, std::string name)
Add to the model the elementary transformation corresponding to the HHO stabilization operator using ...
Definition: getfem_HHO.cc:1405
void add_HHO_reconstructed_value(model &md, std::string name)
Add to the model the elementary transformation corresponding to the reconstruction of the variable.
Definition: getfem_HHO.cc:458
void add_HHO_reconstructed_symmetrized_value(model &md, std::string name)
Add to the model the elementary transformation corresponding to the reconstruction of the variable us...
Definition: getfem_HHO.cc:640
void add_HHO_reconstructed_symmetrized_gradient(model &md, std::string name)
Add to the model the elementary transformation corresponding to the reconstruction of a symmetrized g...
Definition: getfem_HHO.cc:294
void add_HHO_stabilization(model &md, std::string name)
Add to the model the elementary transformation corresponding to the HHO stabilization operator.
Definition: getfem_HHO.cc:1130
void add_HHO_reconstructed_gradient(model &md, std::string name)
Add to the model the elementary transformation corresponding to the reconstruction of a gradient for ...
Definition: getfem_HHO.cc:158