Bembel
Loading...
Searching...
No Matches
tau.hpp
1
// This file is part of Bembel, the higher order C++ boundary element library.
2
//
3
// Copyright (C) 2022 see <http://www.bembel.eu>
4
//
5
// It was written as part of a cooperation of J. Doelz, H. Harbrecht, S. Kurz,
6
// M. Multerer, S. Schoeps, and F. Wolf at Technische Universitaet Darmstadt,
7
// Universitaet Basel, and Universita della Svizzera italiana, Lugano. This
8
// source code is subject to the GNU General Public License version 3 and
9
// provided WITHOUT ANY WARRANTY, see <http://www.bembel.eu> for further
10
// information.
11
12
#ifndef BEMBEL_SRC_DUFFYTRICK_TAU_HPP_
13
#define BEMBEL_SRC_DUFFYTRICK_TAU_HPP_
14
15
namespace
Bembel
{
16
namespace
DuffyTrick {
26
Eigen::Vector2d
tau
(
double
x
,
double
y
,
int
thecase
) {
27
Eigen::Vector2d
retval
;
28
switch
(
thecase
) {
29
case
1:
30
retval
<< 1 -
y
,
x
;
31
return
retval
;
32
case
2:
33
retval
<< 1 -
x
, 1 -
y
;
34
return
retval
;
35
case
3:
36
retval
<<
y
, 1 -
x
;
37
return
retval
;
38
default
:
39
retval
<<
x
,
y
;
40
return
retval
;
41
}
42
}
43
}
// namespace DuffyTrick
44
}
// namespace Bembel
45
#endif
// BEMBEL_SRC_DUFFYTRICK_TAU_HPP_
Bembel::DuffyTrick::tau
Eigen::Vector2d tau(double x, double y, int thecase)
computes rotations for the DuffyTrick.
Definition
tau.hpp:26
Bembel
Routines for the evalutation of pointwise errors.
Definition
AnsatzSpace.hpp:14
Bembel::getFunctionSpaceOutputDimension
constexpr int getFunctionSpaceOutputDimension()
Definition
DifferentialFormEnum.hpp:75
Bembel
src
DuffyTrick
tau.hpp
Generated on Wed Jul 22 2026 15:06:29 for Bembel by
1.9.8