Loading [MathJax]/extensions/tex2jax.js
NiHu
2.0
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
Functions
Typedefs
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
c
d
f
i
m
n
p
q
r
s
t
v
x
Typedefs
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
v
w
x
y
Enumerator
d
i
j
k
l
m
n
o
p
q
r
s
t
Files
File List
File Members
All
Functions
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
quad_1_gauss_field.hpp
1
#ifndef QUAD_1_GAUSS_FIELD_HPP_INCLUDED
2
#define QUAD_1_GAUSS_FIELD_HPP_INCLUDED
3
4
#include "quad_1_gauss_shape_set.hpp"
5
#include "../core/field.hpp"
6
#include "../util/type2tag.hpp"
7
#include "
lib_element.hpp
"
8
9
// define traits of the new field type
10
namespace
NiHu
11
{
12
13
// define the new field type
14
typedef
field<
15
quad_1_elem
,
// over a linear quad elem
16
quad_1_gauss_shape_set,
// using the new shape set
17
field_dimension::_1d
// scalar field
18
> quad_1_gauss_field;
19
20
namespace
field_traits
21
{
22
template
<>
23
struct
id
<
quad_1_gauss_field
> {
enum
{value = 666}; };
24
}
// end of namespace field_traits
25
26
// define a tag to the new type
27
typedef
type2tag<quad_1_gauss_field>
quad_1_gauss_field_tag
;
28
29
}
// end of namespace NiHu
30
31
#endif // QUAD_1_GAUSS_FIELD_HPP_INCLUDED
NiHu::field
field class that stores the dof vector and an element by value
Definition:
field.hpp:367
NiHu::field_traits::id
assign a numeric ID to the field
Definition:
field.hpp:72
NiHu::type2tag
Metafunction assigning a tag to a type.
Definition:
type2tag.hpp:17
NiHu::quad_1_elem
surface_element< quad_1_shape_set, space_3d<>::scalar_t > quad_1_elem
A linear (4-noded) quadrangular element in 3D space.
Definition:
lib_element.hpp:47
lib_element.hpp
src
library
quad_1_gauss_field.hpp
Generated on Sun Apr 6 2025 01:00:16 for NiHu by
1.8.18