public final class LebedevGridUtils extends Object
Routines adapted from C++. Original routines written by Vyacheslav Lebedev, Dmitri Laikov and John Burkardt under the GNU LGPL license. (see sphere_lebedev_rule.html)
Reference: Vyacheslav Lebedev, Dmitri Laikov, A quadrature formula for the sphere of the 131st algebraic order of accuracy, Russian Academy of Sciences Doklady Mathematics, Volume 59, Number 3, 1999, pages 477-481.
Modifier and Type | Field and Description |
---|---|
static Map<Integer,Integer> |
AVAILABLE_RULES
List of available orders for Lebedev's rule, mapped to their corresponding number of points.
|
static Map<Integer,Integer> |
UNAVAILABLE_RULES
List of existing but unavailable orders for Lebedev's rule, mapped to their corresponding
number of points.
|
Modifier and Type | Method and Description |
---|---|
static List<LebedevGrid> |
getAvailableGrids()
Get all the available grids.
|
static LebedevGrid |
lebedevGridByNumberOfPoints(int nbPoints)
Returns a Lebedev angular grid given its number of points.
|
static LebedevGrid |
lebedevGridByOrder(int order)
Returns a Lebedev angular grid for the given order.
|
static Integer |
retrieveOrder(Integer nbPoints)
Retrieve order from number of points.
|
public static final Map<Integer,Integer> AVAILABLE_RULES
public static Integer retrieveOrder(Integer nbPoints)
nbPoints
- number of points.public static List<LebedevGrid> getAvailableGrids()
public static LebedevGrid lebedevGridByOrder(int order)
Only a certain set of such rules are available through this function. The available orders and the corresponding number of points are listed in AVAILABLE_RULES.
Original author (): Dmitri Laikov (13 September 2010)
order
- the order of the rulepublic static LebedevGrid lebedevGridByNumberOfPoints(int nbPoints)
Only a certain set of such rules are available through this function. The available orders and the corresponding number of points are listed in AVAILABLE_RULES.
Original author (): Dmitri Laikov (13 September 2010)
nbPoints
- the number of points of the ruleCopyright © 2021 CNES. All rights reserved.