Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F94116304
interpolation_element_tmpl.hh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Dec 4, 01:14
Size
4 KB
Mime Type
text/x-c++
Expires
Fri, Dec 6, 01:14 (1 d, 11 h)
Engine
blob
Format
Raw Data
Handle
22683605
Attached To
rAKA akantu
interpolation_element_tmpl.hh
View Options
/**
* Copyright (©) 2013-2023 EPFL (Ecole Polytechnique Fédérale de Lausanne)
* Laboratory (LSMS - Laboratoire de Simulation en Mécanique des Solides)
*
* This file is part of Akantu
*
* Akantu is free software: you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option) any
* later version.
*
* Akantu is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
* A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Akantu. If not, see <http://www.gnu.org/licenses/>.
*/
/* -------------------------------------------------------------------------- */
#include "element_class.hh"
/* -------------------------------------------------------------------------- */
#ifndef AKANTU_INTERPOLATION_ELEMENT_TMPL_HH_
#define AKANTU_INTERPOLATION_ELEMENT_TMPL_HH_
namespace
akantu
{
/* -------------------------------------------------------------------------- */
/* Regular Elements */
/* -------------------------------------------------------------------------- */
template
<>
struct
InterpolationProperty
<
_itp_not_defined
>
{
static
constexpr
InterpolationKind
kind
{
_itk_not_defined
};
static
constexpr
Int
nb_nodes_per_element
{
0
};
static
constexpr
Int
natural_space_dimension
{
0
};
};
template
<>
struct
InterpolationProperty
<
_itp_lagrange_point_1
>
{
static
constexpr
InterpolationKind
kind
{
_itk_lagrangian
};
static
constexpr
Int
nb_nodes_per_element
{
1
};
static
constexpr
Int
natural_space_dimension
{
0
};
};
template
<>
struct
InterpolationProperty
<
_itp_lagrange_segment_2
>
{
static
constexpr
InterpolationKind
kind
{
_itk_lagrangian
};
static
constexpr
Int
nb_nodes_per_element
{
2
};
static
constexpr
Int
natural_space_dimension
{
1
};
};
template
<>
struct
InterpolationProperty
<
_itp_lagrange_segment_3
>
{
static
constexpr
InterpolationKind
kind
{
_itk_lagrangian
};
static
constexpr
Int
nb_nodes_per_element
{
3
};
static
constexpr
Int
natural_space_dimension
{
1
};
};
template
<>
struct
InterpolationProperty
<
_itp_lagrange_triangle_3
>
{
static
constexpr
InterpolationKind
kind
{
_itk_lagrangian
};
static
constexpr
Int
nb_nodes_per_element
{
3
};
static
constexpr
Int
natural_space_dimension
{
2
};
};
template
<>
struct
InterpolationProperty
<
_itp_lagrange_triangle_6
>
{
static
constexpr
InterpolationKind
kind
{
_itk_lagrangian
};
static
constexpr
Int
nb_nodes_per_element
{
6
};
static
constexpr
Int
natural_space_dimension
{
2
};
};
template
<>
struct
InterpolationProperty
<
_itp_lagrange_tetrahedron_4
>
{
static
constexpr
InterpolationKind
kind
{
_itk_lagrangian
};
static
constexpr
Int
nb_nodes_per_element
{
4
};
static
constexpr
Int
natural_space_dimension
{
3
};
};
template
<>
struct
InterpolationProperty
<
_itp_lagrange_tetrahedron_10
>
{
static
constexpr
InterpolationKind
kind
{
_itk_lagrangian
};
static
constexpr
Int
nb_nodes_per_element
{
10
};
static
constexpr
Int
natural_space_dimension
{
3
};
};
template
<>
struct
InterpolationProperty
<
_itp_lagrange_quadrangle_4
>
{
static
constexpr
InterpolationKind
kind
{
_itk_lagrangian
};
static
constexpr
Int
nb_nodes_per_element
{
4
};
static
constexpr
Int
natural_space_dimension
{
2
};
};
template
<>
struct
InterpolationProperty
<
_itp_serendip_quadrangle_8
>
{
static
constexpr
InterpolationKind
kind
{
_itk_lagrangian
};
static
constexpr
Int
nb_nodes_per_element
{
8
};
static
constexpr
Int
natural_space_dimension
{
2
};
};
template
<>
struct
InterpolationProperty
<
_itp_lagrange_hexahedron_8
>
{
static
constexpr
InterpolationKind
kind
{
_itk_lagrangian
};
static
constexpr
Int
nb_nodes_per_element
{
8
};
static
constexpr
Int
natural_space_dimension
{
3
};
};
template
<>
struct
InterpolationProperty
<
_itp_serendip_hexahedron_20
>
{
static
constexpr
InterpolationKind
kind
{
_itk_lagrangian
};
static
constexpr
Int
nb_nodes_per_element
{
20
};
static
constexpr
Int
natural_space_dimension
{
3
};
};
template
<>
struct
InterpolationProperty
<
_itp_lagrange_pentahedron_6
>
{
static
constexpr
InterpolationKind
kind
{
_itk_lagrangian
};
static
constexpr
Int
nb_nodes_per_element
{
6
};
static
constexpr
Int
natural_space_dimension
{
3
};
};
template
<>
struct
InterpolationProperty
<
_itp_lagrange_pentahedron_15
>
{
static
constexpr
InterpolationKind
kind
{
_itk_lagrangian
};
static
constexpr
Int
nb_nodes_per_element
{
15
};
static
constexpr
Int
natural_space_dimension
{
3
};
};
}
// namespace akantu
#endif
/* AKANTU_INTERPOLATION_ELEMENT_TMPL_HH_ */
Event Timeline
Log In to Comment