![]() |
IgANet
IGAnets - Isogeometric Analysis Networks
|
Interval creator class. More...
#include </home/runner/work/iganet/iganet/include/iganet/geometry/creator.hpp>
Public Member Functions | |
| IntervalCreator () | |
| Default constructor. | |
| IntervalCreator (const T &x0min, const T &x0max, const T &x1min, const T &x1max) | |
| Bounds constructor. | |
| template<typename Spline > requires SplineType<Spline> | |
| auto & | next (Spline &obj) const |
| Transforms a spline into the next randomly generated interval. | |
| void | pretty_print (std::ostream &os) const noexcept override |
| Returns a string representation of the IntervalCreator object. | |
Private Attributes | |
| T | x0max_ |
| T | x0min_ |
| Bounds of the two endpoint sampling ranges. | |
| T | x1max_ |
| T | x1min_ |
Additional Inherited Members | |
Protected Member Functions inherited from iganet::utils::FullQualifiedName | |
| virtual | ~FullQualifiedName ()=default |
| virtual const std::string & | name () const noexcept |
| Returns the full qualified name of the object. | |
Protected Attributes inherited from iganet::utils::FullQualifiedName | |
| at::optional< std::string > | name_ |
| String storing the full qualified name of the object. | |
Interval creator class.
This geometry creator generates a sequence of intervals in the specified bounds [xmin, xmax].
| T | Scalar type used for interval coordinates and bounds. |
|
inline |
Default constructor.
Initializes the two endpoint sampling ranges to [0.0, 0.1] and [0.9, 1.0], respectively, and seeds the random-number generator.
|
inline |
Bounds constructor.
| x0min | Lower bound of the first endpoint's sampling range. |
| x0max | Upper bound of the first endpoint's sampling range. |
| x1min | Lower bound of the second endpoint's sampling range. |
| x1max | Upper bound of the second endpoint's sampling range. |
|
inline |
Transforms a spline into the next randomly generated interval.
| Spline | One-dimensional spline type to transform. |
| obj | Spline object modified in place. |
obj after applying the interval transformation. Spline must have both parametric and geometric dimension one.
|
inlineoverridevirtualnoexcept |
Returns a string representation of the IntervalCreator object.
| os | Stream that receives the representation. |
Implements iganet::CreatorCore< T >.
|
private |
|
private |
Bounds of the two endpoint sampling ranges.
|
private |
|
private |