> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class CalculateToothStiffness

Namespace: [VM.Managed.DAFUL.GearTrain.Operation](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.GearTrain.Operation)\
Assembly: VMOpGearTrain.dll

Calculate tooth stiffness operation

```csharp theme={null}
public class CalculateToothStiffness : OperationBase, IOperation
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
OperationBase ←
[CalculateToothStiffness](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.GearTrain.Operation.CalculateToothStiffness.md)

#### Derived

[CalculateToothStiffnessForCycloid](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.GearTrain.Operation.CalculateToothStiffnessForCycloid.md),
[CalculateToothStiffnessForRAP](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.GearTrain.Operation.CalculateToothStiffnessForRAP.md)

#### Implements

IOperation

#### Inherited Members

OperationBase.g\_bRedrawKernel,
OperationBase.g\_bVerify,
OperationBase.g\_bSkipAddEvent,
OperationBase.g\_bDupicateMsg,
OperationBase.m\_bIsHistoryMerge,
OperationBase.Execute(),
OperationBase.PostExecute(),
OperationBase.GetInformation(XmlWriter),
OperationBase.Create(string, View, object),
OperationBase.Create(string, IDocument, object),
OperationBase.Create(string, object),
OperationBase.Create(string),
OperationBase.StartSession(),
OperationBase.StartSession(OperationBase, OperationBase.PostOperation),
OperationBase.StartSession(OperationBase),
OperationBase.StartSessionAndWait(),
OperationBase.StartSessionAndWait(OperationBase, OperationBase.PostOperation),
OperationBase.StartSessionAndWait(OperationBase),
OperationBase.Initialize(OperationBase.ShowVerifyResult),
OperationBase.RecordJournal(OperationBase),
OperationBase.UseSession(string),
OperationBase.raise\_OnOperationStatusChanged(object, OperationStatusEventArgs),
OperationBase.raise\_OnEndOperation(object, EventArgs),
OperationBase.ClearCurrentMark(string),
OperationBase.ClearCurrentMark(IDocument),
OperationBase.ClearCurrentMark(),
OperationBase.GlobalOverride,
OperationBase.IsDoingThread,
OperationBase.ExecuteMacro,
OperationBase.SimStatus,
OperationBase.Status,
OperationBase.autoEvents,
OperationBase.IsHistoryMerge,
OperationBase.SkipClearTemporaryLinkContainer,
OperationBase.PostExecuteClearTemporaryLinkContainer,
OperationBase.SkipEndOperation,
OperationBase.UseMacro,
OperationBase.MarkStatus,
OperationBase.UseThread,
OperationBase.Name,
OperationBase.ExecutableOnHold,
OperationBase.Override,
OperationBase.Parameter,
OperationBase.View,
OperationBase.Document,
OperationBase.OnEndOperation,
OperationBase.OnOperationStatusChanged

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### CalculateToothStiffness(string, string, double, Vector\[], uint, int, string)

Initializes a new instance of the [CalculateToothStiffness](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.GearTrain.Operation.CalculateToothStiffness.md) class.

```csharp theme={null}
public CalculateToothStiffness(string strDocInfo, string strDatFile, double dEndPosY, Vector[] arTeethPosition, uint nNumberOfMarker, int nGearIdx, string strGearset)
```

#### Parameters

`strDocInfo` [string](https://learn.microsoft.com/dotnet/api/system.string)

The string document information.

`strDatFile` [string](https://learn.microsoft.com/dotnet/api/system.string)

the string dat file.

`dEndPosY` [double](https://learn.microsoft.com/dotnet/api/system.double)

The d end position y.

`arTeethPosition` Vector\[]

The ar teeth position.

`nNumberOfMarker` [uint](https://learn.microsoft.com/dotnet/api/system.uint32)

The n number of marker.

`nGearIdx` [int](https://learn.microsoft.com/dotnet/api/system.int32)

Index of the n gear.

`strGearset` [string](https://learn.microsoft.com/dotnet/api/system.string)

The gearset name.

### CalculateToothStiffness(Document3D, string, string, double, Vector\[], uint, int, string)

Initializes a new instance of the [CalculateToothStiffness](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.GearTrain.Operation.CalculateToothStiffness.md) class.

```csharp theme={null}
public CalculateToothStiffness(Document3D doc, string strDocInfo, string strDatFile, double dEndPosY, Vector[] arTeethPosition, uint nNumberOfMarker, int nGearIdx, string strGearset)
```

#### Parameters

`doc` Document3D

The document.

`strDocInfo` [string](https://learn.microsoft.com/dotnet/api/system.string)

The string document information.

`strDatFile` [string](https://learn.microsoft.com/dotnet/api/system.string)

the string dat file.

`dEndPosY` [double](https://learn.microsoft.com/dotnet/api/system.double)

The d end position y.

`arTeethPosition` Vector\[]

The ar teeth position.

`nNumberOfMarker` [uint](https://learn.microsoft.com/dotnet/api/system.uint32)

The n number of marker.

`nGearIdx` [int](https://learn.microsoft.com/dotnet/api/system.int32)

Index of the n gear.

`strGearset` [string](https://learn.microsoft.com/dotnet/api/system.string)

The gearset name.

### CalculateToothStiffness(JournalParameter)

Initializes a new instance of the [CalculateToothStiffness](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.GearTrain.Operation.CalculateToothStiffness.md) class.

```csharp theme={null}
public CalculateToothStiffness(JournalParameter jp)
```

#### Parameters

`jp` JournalParameter

The jp.

## Fields

### m\_arTeethPosition

m\_arTeethPosition

```csharp theme={null}
protected Vector[] m_arTeethPosition
```

#### Field Value

Vector\[]

### m\_ardDeform

m\_ardDeform

```csharp theme={null}
protected double[] m_ardDeform
```

#### Field Value

[double](https://learn.microsoft.com/dotnet/api/system.double)\[]

### m\_bAdvancedGearGeometry

```csharp theme={null}
protected bool m_bAdvancedGearGeometry
```

#### Field Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### m\_bRingGear

```csharp theme={null}
protected bool m_bRingGear
```

#### Field Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### m\_doc

The document.

```csharp theme={null}
protected Document3D m_doc
```

#### Field Value

Document3D

### m\_nGearIdx

m\_nGearIdx

```csharp theme={null}
protected int m_nGearIdx
```

#### Field Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### m\_nNumberOfMarker

m\_nNumberOfMarker

```csharp theme={null}
protected uint m_nNumberOfMarker
```

#### Field Value

[uint](https://learn.microsoft.com/dotnet/api/system.uint32)

### m\_strDatFile

The mesh data file path

```csharp theme={null}
protected string m_strDatFile
```

#### Field Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### m\_strDocInfo

The document information

```csharp theme={null}
protected string m_strDocInfo
```

#### Field Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### m\_strGearSet

m\_strGearSet

```csharp theme={null}
protected string m_strGearSet
```

#### Field Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

## Properties

### Name

Gets the name.

```csharp theme={null}
public override string Name { get; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

## Methods

### CreateMarkerOnNode(MeshDocument, int, ref List\<VectorBase>)

CreateMarkerOnNode

```csharp theme={null}
protected void CreateMarkerOnNode(MeshDocument docMesh, int nNodeIndex, ref List<VectorBase> lstMarkerPoint)
```

#### Parameters

`docMesh` MeshDocument

mesh document

`nNodeIndex` [int](https://learn.microsoft.com/dotnet/api/system.int32)

the index of node

`lstMarkerPoint` [List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)\<VectorBase>

the list of marker's position

### CreateSetNode(MeshDocument, string)

Create setNode.

```csharp theme={null}
protected virtual bool CreateSetNode(MeshDocument docMesh, string strName)
```

#### Parameters

`docMesh` MeshDocument

The doc.

`strName` [string](https://learn.microsoft.com/dotnet/api/system.string)

The name.

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### Execute()

Executes this instance.

```csharp theme={null}
public override void Execute()
```

### FindReferConnectEntity\<T>(NodalBody, string)

FindReferConnectEntity

```csharp theme={null}
protected T FindReferConnectEntity<T>(NodalBody nBody, string entityName) where T : Reference
```

#### Parameters

`nBody` NodalBody

nodal body

`entityName` [string](https://learn.microsoft.com/dotnet/api/system.string)

the name of reference object's prototype

#### Returns

T

the reference object

#### Type Parameters

`T`

the type of reference object

### GetBasePositionOfTScalar(Vector, Vector, bool)

GetBasePositionOfTScalar

```csharp theme={null}
protected PointBase GetBasePositionOfTScalar(Vector vec1, Vector vec2, bool bLast)
```

#### Parameters

`vec1` Vector

vec1

`vec2` Vector

vec2

`bLast` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

bLast

#### Returns

PointBase

PointBase

### GetInformation(XmlWriter)

Gets the information.

```csharp theme={null}
public override void GetInformation(XmlWriter writer)
```

#### Parameters

`writer` [XmlWriter](https://learn.microsoft.com/dotnet/api/system.xml.xmlwriter)

The writer.

### ReadOutFile(string, int, ref double\[])

ReadOutFile

```csharp theme={null}
protected void ReadOutFile(string strPath, int nLen, ref double[] ardDeform)
```

#### Parameters

`strPath` [string](https://learn.microsoft.com/dotnet/api/system.string)

the out file path

`nLen` [int](https://learn.microsoft.com/dotnet/api/system.int32)

nLen

`ardDeform` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

ardDeform

### Result()

Results this instance.

```csharp theme={null}
public double[] Result()
```

#### Returns

[double](https://learn.microsoft.com/dotnet/api/system.double)\[]

### WriteDat(string)

WriteDat

```csharp theme={null}
protected void WriteDat(string strDatPath)
```

#### Parameters

`strDatPath` [string](https://learn.microsoft.com/dotnet/api/system.string)

strDatPath
