|
|
(3 intermediate revisions by one other user not shown) |
Line 1: |
Line 1: |
| {{Template:APIClass|ALTADataSet Class|ALTADataSet}}
| | #REDIRECT [[ALTADataSet_Class]] |
| {{Template:ALTADataSet.StressRelation.Cmt}}
| |
| | |
| == Syntax ==
| |
| | |
| <ul><li>
| |
| StressRelation(
| |
| Index
| |
| {{APIPrefix|As Integer}}
| |
| )
| |
| </li></ul>
| |
| | |
| Parameters
| |
| :''Index'': The index of the stress (0 = first stress).
| |
| | |
| Return Value
| |
| :Type: ''[[ALTASolverLSR Enumeration|ALTASolverLSR]]''
| |
| | |
| == Usage Example ==
| |
| | |
| {{APIComment|Declare the ALTADataSet. See [[New ALTADataSet]] for additional details.}}
| |
| Dim ALTADS as New ALTADataSet
| |
| | |
| {{APIComment|Declare an [[ALTAStressProfile Class|ALTAStressProfile]]. See [[ALTAStressProfile Class|ALTAStressProfile]] for additional details.}}
| |
| Dim sp = New ALTAStressProfile("Profile1")
| |
| sp.RepeatCycle = True
| |
| sp.AddSegment(1, 250)
| |
| sp.AddSegment(2, 300)
| |
| sp.AddSegment(3, 400)
| |
| | |
| {{APIComment|Add the stress profile. See [[ALTADataSet.AddStressProfile]] for additional details}}
| |
| ALTADS.AddStressProfile(sp)
| |
| | |
| {{APIComment|Set the relation for the stress.}}
| |
| ALTADS.StressRelation(0) = ALTASolverLSR.Arrhenius
| |