Gauss_Lobatto_nodes.py¶
⭕ To access the source code, click on the [source] button at the right
side or click on
[Gauss_Lobatto_nodes.py]
.
Dependence may exist. In case of error, check import and install required
packages or download required scripts. © mathischeap.com
- Gauss_Lobatto_nodes.Gauss_Lobatto_nodes(p)[source]¶
Compute the Gauss Lobatto nodes of degree
p
using newton method. Credits belong to Lorenzo.- Parameters:
p (int) – The quadrature degree (positive integer).
- Returns:
(numpy.ndarray) - The Lobatto quadrature nodes.
- Example:
>>> n = Gauss_Lobatto_nodes(3) >>> n array([-1. , -0.4472136, 0.4472136, 1. ])
↩️ Back to Ⓜ️ Mimetic Spectral Element Method.