Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
GaussLegendreRecursiveRelation.cpp
Go to the documentation of this file.
1/* This file is part of MoDELib, distributed under GNU GPL v2. */
3
4namespace 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
static double a(const int &n)
Class template defining the coefficients A, B and C of the recursive relation for orthogonal Legendre...
static double c(const int &n)
The coefficient c.
static double b(const int &n)
The coefficient b.