LinearProfile¶
- class LinearProfile(*args)¶
Linear temperature profile.
- Parameters:
- T0float
Initial temperature
- iMaxint
Number of maximal iterations
Notes
The temperature write:
Examples
>>> import openturns as ot >>> # Define a profile >>> T0 = 10.0 >>> iMax = 100 >>> linearProfile = ot.LinearProfile(T0, iMax)
Methods
Accessor to the object's name.
getIMax()Maximum index value accessor.
getName()Accessor to the object's name.
getT0()Temperature origin accessor.
hasName()Test if the object is named.
setName(name)Accessor to the object's name.
- __init__(*args)¶
- getClassName()¶
Accessor to the object’s name.
- Returns:
- class_namestr
The object class name (object.__class__.__name__).
- getIMax()¶
Maximum index value accessor.
- Returns:
- iMaxint
The maximum index value
- getName()¶
Accessor to the object’s name.
- Returns:
- namestr
The name of the object.
- getT0()¶
Temperature origin accessor.
- Returns:
- t0float
The temperature origin
- hasName()¶
Test if the object is named.
- Returns:
- hasNamebool
True if the name is not empty.
- setName(name)¶
Accessor to the object’s name.
- Parameters:
- namestr
The name of the object.
OpenTURNS