Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F90515281
geometrical_element_igfem.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
Sat, Nov 2, 09:27
Size
2 KB
Mime Type
text/x-c++
Expires
Mon, Nov 4, 09:27 (2 d)
Engine
blob
Format
Raw Data
Handle
22019953
Attached To
rAKA akantu
geometrical_element_igfem.hh
View Options
/**
* @file element_class_igfem.hh
*
* @author Aurelia Isabel Cuba Ramos <aurelia.cubaramos@epfl.ch>
* @author Nicolas Richart <nicolas.richart@epfl.ch>
*
*
* @brief Specialization for interface-enriched finite elements
*
*
* Copyright (©) 2010-2012, 2014 EPFL (Ecole Polytechnique Fédérale de Lausanne)
* Laboratory (LSMS - Laboratoire de Simulation en Mécanique des Solides)
*
*/
/* -------------------------------------------------------------------------- */
#include "element_class.hh"
/* -------------------------------------------------------------------------- */
namespace
akantu
{
/* -------------------------------------------------------------------------- */
template
<>
class
GeometricalElement
<
_gt_igfem_segment_3
>
{
static
constexpr
UInt
spatial_dimension
{
1
};
static
constexpr
UInt
nb_nodes_per_element
{
3
};
static
constexpr
UInt
nb_facet_types
{
1
};
static
constexpr
std
::
array
<
UInt
,
nb_facet_types
>
nb_facets
{{
2
}};
static
constexpr
std
::
array
<
UInt
,
nb_facet_types
>
nb_nodes_per_facet
{{
1
}};
static
constexpr
std
::
array
<
UInt
,
2
>
facet_connectivity_vect
{{
0
,
1
}};
};
/* -------------------------------------------------------------------------- */
template
<>
class
GeometricalElement
<
_gt_igfem_triangle_4
>
{
static
constexpr
UInt
spatial_dimension
{
2
};
static
constexpr
UInt
nb_nodes_per_element
{
4
};
static
constexpr
UInt
nb_facet_types
{
2
};
static
constexpr
std
::
array
<
UInt
,
nb_facet_types
>
nb_facets
{{
2
,
1
}};
static
constexpr
std
::
array
<
UInt
,
nb_facet_types
>
nb_nodes_per_facet
{{
2
,
3
}};
// clang-format off
static
constexpr
std
::
array
<
UInt
,
7
>
facet_connectivity_vect
{{
// first type
0
,
2
,
1
,
0
,
// second type
1
,
2
,
3
}};
// clang-format on
};
/* -------------------------------------------------------------------------- */
template
<>
class
GeometricalElement
<
_gt_igfem_triangle_5
>
{
static
constexpr
UInt
spatial_dimension
{
2
};
static
constexpr
UInt
nb_nodes_per_element
{
5
};
static
constexpr
UInt
nb_facet_types
{
2
};
static
constexpr
std
::
array
<
UInt
,
nb_facet_types
>
nb_facets
{{
1
,
2
}};
static
constexpr
std
::
array
<
UInt
,
nb_facet_types
>
nb_nodes_per_facet
{{
2
,
3
}};
// clang-format off
static
constexpr
std
::
array
<
UInt
,
8
>
facet_connectivity_vect
{{
// first type
1
,
2
,
// second type
0
,
2
,
1
,
0
,
3
,
4
}};
// clang-format on
};
/* -------------------------------------------------------------------------- */
}
// namespace akantu
Event Timeline
Log In to Comment