Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
src
Quadrature
GaussLegendreRecursiveRelation.cpp
Go to the documentation of this file.
1
/* This file is part of MoDELib, distributed under GNU GPL v2. */
2
#include <
GaussLegendreRecursiveRelation.h
>
3
4
namespace
model
5
{
6
7
auto
GaussLegendreRecursiveRelation::a
(
const
int
&n) ->
double
8
{
9
return
(2.0 * n - 1.0) / n;
10
}
11
12
auto
GaussLegendreRecursiveRelation::b
(
const
int
&n) ->
double
13
{
14
return
0.0 * n;
15
}
16
17
auto
GaussLegendreRecursiveRelation::c
(
const
int
&n) ->
double
18
{
19
return
(n - 1.0) / n;
20
}
21
}
// namespace model
GaussLegendreRecursiveRelation.h
model
Definition
DD_converter.dox:2
model::GaussLegendreRecursiveRelation::a
static double a(const int &n)
Class template defining the coefficients A, B and C of the recursive relation for orthogonal Legendre...
Definition
GaussLegendreRecursiveRelation.cpp:7
model::GaussLegendreRecursiveRelation::c
static double c(const int &n)
The coefficient c.
Definition
GaussLegendreRecursiveRelation.cpp:17
model::GaussLegendreRecursiveRelation::b
static double b(const int &n)
The coefficient b.
Definition
GaussLegendreRecursiveRelation.cpp:12
Generated by
1.15.0