GetFEM  5.4.3
getfem_HHO.h
Go to the documentation of this file.
1 // /* -*- c++ -*- (enables emacs c++ mode) */
2 /*===========================================================================
3 
4  Copyright (C) 2019-2020 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, write to the Free Software Foundation,
19  Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
20 
21  As a special exception, you may use this file as it is a part of a free
22  software library without restriction. Specifically, if other files
23  instantiate templates or use macros or inline functions from this file,
24  or you compile this file and link it with other files to produce an
25  executable, this file does not by itself cause the resulting executable
26  to be covered by the GNU Lesser General Public License. This exception
27  does not however invalidate any other reasons why the executable file
28  might be covered by the GNU Lesser General Public License.
29 
30 ===========================================================================*/
31 /**@file getfem_HHO.h
32  @author Yves Renard <Yves.Renard@insa-lyon.fr>
33  @date August 16, 2019.
34  @brief Tools for Hybrid-High-Order methods.
35 */
36 
37 #ifndef GETFEM_HHO_H__
38 #define GETFEM_HHO_H__
39 
40 #include "getfem_models.h"
41 
42 
43 namespace getfem {
44 
45  /** Add to the model the elementary transformation corresponding to the
46  reconstruction of a gradient for HHO methods.
47  The name is the name given to the elementary transformation.
48  */
49  void add_HHO_reconstructed_gradient(model &md, std::string name);
50 
51 
52  /** Add to the model the elementary transformation corresponding to
53  the reconstruction of a symmetrized gradient for HHO methods.
54  The name is the name given to the elementary transformation.
55  */
56  void add_HHO_reconstructed_symmetrized_gradient(model &md, std::string name);
57 
58  /** Add to the model the elementary transformation corresponding to the
59  reconstruction of the variable.
60  The name is the name given to the elementary transformation.
61  */
62  void add_HHO_reconstructed_value(model &md, std::string name);
63 
64  /** Add to the model the elementary transformation corresponding to the
65  reconstruction of the variable using a symmetrized gradient.
66  The name is the name given to the elementary transformation.
67  */
68  void add_HHO_reconstructed_symmetrized_value(model &md, std::string name);
69 
70  /** Add to the model the elementary transformation corresponding to the
71  HHO stabilization operator.
72  The name is the name given to the elementary transformation.
73  */
74  void add_HHO_stabilization(model &md, std::string name);
75 
76  /** Add to the model the elementary transformation corresponding to the
77  HHO stabilization operator using a symmetrized gradient.
78  The name is the name given to the elementary transformation.
79  */
80  void add_HHO_symmetrized_stabilization(model &md, std::string name);
81 
82 
83 } /* end of namespace getfem. */
84 
85 
86 #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:1406
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:459
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:641
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:295
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:1131
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:159