Loading [MathJax]/extensions/TeX/newcommand.js
Reference documentation for deal.II version 9.6.0
\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}
\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}
\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}
\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}
Toggle main menu visibility
Main Page
Tutorial
Code gallery
Topics
Namespaces
Namespace List
Namespace 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
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Variables
a
b
c
d
e
f
h
i
l
m
n
o
p
q
r
s
t
u
v
w
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
v
Enumerations
a
b
c
d
e
f
g
h
i
l
n
o
p
r
s
v
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
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
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
_
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
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerations
b
c
d
e
f
g
i
m
o
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Related Symbols
:
a
b
c
d
f
g
i
l
m
n
o
p
r
s
t
u
v
Related Pages
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
s
t
u
v
Variables
a
c
d
e
f
g
h
i
k
l
m
n
o
p
s
t
u
v
Typedefs
Enumerations
Enumerator
m
u
Macros
a
b
d
e
f
h
i
m
p
s
t
dealii.org
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Concepts
Loading...
Searching...
No Matches
include
deal.II
boost_adaptors
point.h
Go to the documentation of this file.
1
// ------------------------------------------------------------------------
2
//
3
// SPDX-License-Identifier: LGPL-2.1-or-later
4
// Copyright (C) 2018 - 2023 by the deal.II authors
5
//
6
// This file is part of the deal.II library.
7
//
8
// Part of the source code is dual licensed under Apache-2.0 WITH
9
// LLVM-exception OR LGPL-2.1-or-later. Detailed license information
10
// governing the source code and code contributions can be found in
11
// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II.
12
//
13
// ------------------------------------------------------------------------
14
15
#ifndef dealii_boost_adaptor_point_h
16
#define dealii_boost_adaptor_point_h
17
18
#include <
deal.II/base/config.h
>
19
20
#include <
deal.II/base/point.h
>
21
22
namespace
boost
23
{
24
namespace
geometry
25
{
26
namespace
traits
27
{
31
template
<
int
dim,
class
Number>
32
struct
tag<::
Point
<dim, Number>>
33
{
34
using
type
= point_tag;
35
};
32
struct
tag<::
Point
<dim, Number>> {
…
};
36
40
template
<
int
dim,
class
Number>
41
struct
coordinate_type<::
Point
<dim, Number>>
42
{
43
using
type
= Number;
44
};
41
struct
coordinate_type<::
Point
<dim, Number>> {
…
};
45
50
template
<
int
dim,
class
Number>
51
struct
coordinate_system<::
Point
<dim, Number>>
52
{
53
using
type
= cs::cartesian;
54
};
51
struct
coordinate_system<::
Point
<dim, Number>> {
…
};
55
59
template
<
int
dim,
class
Number>
60
struct
dimension<::
Point
<dim, Number>> :
boost::mpl::int_
<dim>
61
{};
60
struct
dimension<::
Point
<dim, Number>> :
boost::mpl::int_
<dim> {
…
};
62
66
template
<std::
size_t
D,
int
dim,
class
Number>
67
struct
access<::
Point
<dim, Number>, D>
68
{
69
static
inline
double
70
get
(const ::Point<dim, Number> &p)
71
{
72
return
p[D];
73
}
70
get
(const ::Point<dim, Number> &p) {
…
}
74
78
static
inline
void
79
set
(
::Point<dim, Number>
&p, Number value)
80
{
81
p[D] = value;
82
}
79
set
(
::Point<dim, Number>
&p, Number value) {
…
}
83
};
67
struct
access<::
Point
<dim, Number>, D> {
…
};
84
}
// namespace traits
85
}
// namespace geometry
86
}
// namespace boost
87
88
89
90
#endif
point.h
Point
Definition
point.h:111
boost::mpl::int_
config.h
boost
Definition
bounding_box.h:26
boost::geometry::traits::access<::Point< dim, Number >, D >::set
static void set(::Point< dim, Number > &p, Number value)
Definition
point.h:79
boost::geometry::traits::access<::Point< dim, Number >, D >::get
static double get(const ::Point< dim, Number > &p)
Definition
point.h:70
boost::geometry::traits::coordinate_system<::Point< dim, Number > >::type
cs::cartesian type
Definition
point.h:53
boost::geometry::traits::coordinate_type<::Point< dim, Number > >::type
Number type
Definition
point.h:43
boost::geometry::traits::tag<::Point< dim, Number > >::type
point_tag type
Definition
point.h:34
Generated by
1.11.0