Home
About Us
Publications
Developers
Installation
Examples
Documentation
SomeWebsiteLogo
Home
About Us
Publications
Developers
Installation
Examples
Documentation
src
quadrature
quadrature_gauss_lobatto.C
Go to the documentation of this file.
1
// The libMesh Finite Element Library.
2
// Copyright (C) 2002-2018 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner
3
4
// This library is free software; you can redistribute it and/or
5
// modify it under the terms of the GNU Lesser General Public
6
// License as published by the Free Software Foundation; either
7
// version 2.1 of the License, or (at your option) any later version.
8
9
// This library is distributed in the hope that it will be useful,
10
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
// Lesser General Public License for more details.
13
14
// You should have received a copy of the GNU Lesser General Public
15
// License along with this library; if not, write to the Free Software
16
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
18
19
// libMesh includes
20
#include "
libmesh/quadrature_gauss_lobatto.h
"
21
#include "
libmesh/enum_quadrature_type.h
"
22
23
namespace
libMesh
24
{
25
26
// See the files:
27
// quadrature_gauss_lobatto_1D.C
28
// quadrature_gauss_lobatto_2D.C
29
// quadrature_gauss_lobatto_3D.C
30
// for implementation of specific element types.
31
32
33
QGaussLobatto::QGaussLobatto
(
const
unsigned
int
d,
34
const
Order
o) :
QBase
(d,o)
35
{
36
// explicitly call the init function in 1D since the
37
// other tensor-product rules require this one.
38
// note that EDGE will not be used internally, however
39
// if we called the function with INVALID_ELEM it would try to
40
// be smart and return, thinking it had already done the work.
41
if
(
_dim
== 1)
42
init
(
EDGE2
);
43
}
44
45
46
QuadratureType
QGaussLobatto::type
()
const
47
{
48
return
QGAUSS_LOBATTO
;
49
}
50
51
}
// namespace libMesh
libMesh::QBase::init
virtual void init(const ElemType type=INVALID_ELEM, unsigned int p_level=0)
Definition:
quadrature.C:28
enum_quadrature_type.h
libMesh::Order
Order
Definition:
enum_order.h:40
libMesh::QuadratureType
QuadratureType
Definition:
enum_quadrature_type.h:33
libMesh::QBase::_dim
unsigned int _dim
Definition:
quadrature.h:325
libMesh
Definition:
default_coupling.C:31
libMesh::QGaussLobatto::QGaussLobatto
QGaussLobatto(unsigned int dim, Order order=INVALID_ORDER)
Definition:
quadrature_gauss_lobatto.C:33
quadrature_gauss_lobatto.h
libMesh::QGAUSS_LOBATTO
Definition:
enum_quadrature_type.h:43
libMesh::EDGE2
Definition:
enum_elem_type.h:35
libMesh::QBase
Base class for all quadrature families and orders.
Definition:
quadrature.h:62
libMesh::QGaussLobatto::type
virtual QuadratureType type() const override
Definition:
quadrature_gauss_lobatto.C:46
generated by