|
|
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).
| |
| | |
| Value
| |
| :Type: ''[[ALTASolverLSR Enumeration|ALTASolverLSR]]''
| |
| | |
| == Usage Example ==
| |
| This example demonstrates how to add a stress and set its stress transformation.
| |
| {{APIComment|'Declare the ALTADataSet. See [[ALTADataSet Class|ALTADataSet]].}}
| |
| Dim ALTADS as New ALTADataSet
| |
|
| |
| {{APIComment|'Add a new stress.}}
| |
| ALTADS.AddStressDefinition("Stress1")
| |
|
| |
| {{APIComment|'Set the stress transformation for the first stress. See [[ALTASolverLSR_Enumeration|ALTASolverLSR]].}}
| |
| ALTADS.StressRelation(0) = ALTASolverLSR.Arrhenius
| |