Flow123d
DF_patch_fe_mechanics-5faa023
src
fem
patch_point_values_impl.hh
Go to the documentation of this file.
1
/*!
2
*
3
* Copyright (C) 2015 Technical University of Liberec. All rights reserved.
4
*
5
* This program is free software; you can redistribute it and/or modify it under
6
* the terms of the GNU General Public License version 3 as published by the
7
* Free Software Foundation. (http://www.gnu.org/licenses/gpl-3.0.en.html)
8
*
9
* This program is distributed in the hope that it will be useful, but WITHOUT
10
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
*
13
*
14
* @file patch_point_values_impl.hh
15
* @brief Store finite element data on the actual patch
16
* such as shape function values, gradients, Jacobian
17
* of the mapping from the reference cell etc.
18
* @author David Flanderka
19
*/
20
21
#ifndef PATCH_POINT_VALUES_HH_IMPL_
22
#define PATCH_POINT_VALUES_HH_IMPL_
23
24
#include "
fem/patch_point_values.hh
"
25
26
27
namespace
Op
{
28
class
BulkDomain;
29
class
SideDomain;
30
}
31
32
// Template specialized methods
33
34
template
<>
35
template
<>
36
NodeAccessor<3>
PatchPointValues<3>::node<Op::BulkDomain>
(
unsigned
int
i_elm,
unsigned
int
i_n) {
37
return
elem_list_[i_elm].
node
(i_n);
38
}
39
40
template
<>
41
template
<>
42
NodeAccessor<3>
PatchPointValues<3>::node<Op::SideDomain>
(
unsigned
int
i_elm,
unsigned
int
i_n) {
43
return
side_list_[i_elm].
node
(i_n);
44
}
45
46
47
48
#endif
/* PATCH_POINT_VALUES_HH_IMPL_ */
NodeAccessor
Definition:
node_accessor.hh:31
PatchPointValues
Definition:
patch_point_values.hh:56
PatchPointValues::node
NodeAccessor< spacedim > node(unsigned int i_elm, unsigned int i_n)
Op
Definition:
op_function.hh:27
patch_point_values.hh
Store finite element data on the actual patch such as shape function values, gradients,...
Generated by
1.9.1