Class CalculateToothStiffness
Last update: 09.03.2026Namespace: VM.Managed.DAFUL.GearTrain.Operation
Assembly: VMOpGearTrain.dll
Calculate tooth stiffness operation
public class CalculateToothStiffness : OperationBase, IOperation
Inheritance
object ← OperationBase ← CalculateToothStiffness
Derived
CalculateToothStiffnessForCycloid, CalculateToothStiffnessForRAP
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), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)
Constructors
CalculateToothStiffness(string, string, double, Vector[], uint, int, string)
Initializes a new instance of the
public CalculateToothStiffness(string strDocInfo, string strDatFile, double dEndPosY, Vector[] arTeethPosition, uint nNumberOfMarker, int nGearIdx, string strGearset)
Parameters
strDocInfo string
The string document information.
strDatFile string
the string dat file.
dEndPosY double
The d end position y.
arTeethPosition Vector[]
The ar teeth position.
nNumberOfMarker uint
The n number of marker.
nGearIdx int
Index of the n gear.
strGearset string
The gearset name.
CalculateToothStiffness(Document3D, string, string, double, Vector[], uint, int, string)
Initializes a new instance of the
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
The string document information.
strDatFile string
the string dat file.
dEndPosY double
The d end position y.
arTeethPosition Vector[]
The ar teeth position.
nNumberOfMarker uint
The n number of marker.
nGearIdx int
Index of the n gear.
strGearset string
The gearset name.
CalculateToothStiffness(JournalParameter)
Initializes a new instance of the
public CalculateToothStiffness(JournalParameter jp)
Parameters
jp JournalParameter
The jp.
Fields
m_arTeethPosition
m_arTeethPosition
protected Vector[] m_arTeethPosition
Field Value
Vector[]
m_ardDeform
m_ardDeform
protected double[] m_ardDeform
Field Value
double[]
m_bAdvancedGearGeometry
protected bool m_bAdvancedGearGeometry
Field Value
bool
m_bRingGear
protected bool m_bRingGear
Field Value
bool
m_doc
The document.
protected Document3D m_doc
Field Value
Document3D
m_nGearIdx
m_nGearIdx
protected int m_nGearIdx
Field Value
int
m_nNumberOfMarker
m_nNumberOfMarker
protected uint m_nNumberOfMarker
Field Value
uint
m_strDatFile
The mesh data file path
protected string m_strDatFile
Field Value
string
m_strDocInfo
The document information
protected string m_strDocInfo
Field Value
string
m_strGearSet
m_strGearSet
protected string m_strGearSet
Field Value
string
Properties
Name
Gets the name.
public override string Name { get; }
Property Value
string
Methods
CreateMarkerOnNode(MeshDocument, int, ref List<VectorBase>)
CreateMarkerOnNode
protected void CreateMarkerOnNode(MeshDocument docMesh, int nNodeIndex, ref List<VectorBase> lstMarkerPoint)
Parameters
docMesh MeshDocument
mesh document
nNodeIndex int
the index of node
lstMarkerPoint List<VectorBase>
the list of marker's position
CreateSetNode(MeshDocument, string)
Create setNode.
protected virtual bool CreateSetNode(MeshDocument docMesh, string strName)
Parameters
docMesh MeshDocument
The doc.
strName string
The name.
Returns
bool
Execute()
Executes this instance.
public override void Execute()
FindReferConnectEntity<T>(NodalBody, string)
FindReferConnectEntity
protected T FindReferConnectEntity<T>(NodalBody nBody, string entityName) where T : Reference
Parameters
nBody NodalBody
nodal body
entityName 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
protected PointBase GetBasePositionOfTScalar(Vector vec1, Vector vec2, bool bLast)
Parameters
vec1 Vector
vec1
vec2 Vector
vec2
bLast bool
bLast
Returns
PointBase
PointBase
GetInformation(XmlWriter)
Gets the information.
public override void GetInformation(XmlWriter writer)
Parameters
writer XmlWriter
The writer.
ReadOutFile(string, int, ref double[])
ReadOutFile
protected void ReadOutFile(string strPath, int nLen, ref double[] ardDeform)
Parameters
strPath string
the out file path
nLen int
nLen
ardDeform double[]
ardDeform
Result()
Results this instance.
public double[] Result()
Returns
double[]
WriteDat(string)
WriteDat
protected void WriteDat(string strDatPath)
Parameters
strDatPath string
strDatPath