/usr/include/openturns/swig/IntervalMesher_doc.i is in libopenturns-dev 1.7-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | %feature("docstring") OT::IntervalMesher
"Creation of mesh of box type.
Available constructor:
IntervalMesher(*discretization*)
Parameters
----------
discretization : sequence of int, of dimension :math:`\\\\leq 3`.
Number of intervals in each direction of the box.
Examples
--------
Create a mesh:
>>> import openturns as ot
>>> mesher = ot.IntervalMesher([5, 10])
>>> lowerbound = [0.0, 0.0]
>>> upperBound = [2.0, 4.0]
>>> interval = ot.Interval(lowerbound, upperBound)
>>> mesh = mesher.build(interval)"
// ---------------------------------------------------------------------
%feature("docstring") OT::IntervalMesher::build
"Build the mesh of box type.
Parameters
----------
interval : :class:`~openturns.Interval`
The bounds defining the interval, of dimension equal to the dimension
of `discretization`.
Returns
-------
mesh : :class:`~openturns.Mesh`
The mesh built."
// ---------------------------------------------------------------------
%feature("docstring") OT::IntervalMesher::getDiscretization
"Accessor to the discretization.
Returns
-------
discretization : :class:`~openturns.Indices`
Number of intervals in each direction of the box."
// ---------------------------------------------------------------------
%feature("docstring") OT::IntervalMesher::setDiscretization
"Accessor to the discretization.
Parameters
----------
discretization : sequence of int
Number of intervals in each direction of the box."
|