Click or drag to resize

FDMeshEngine Class

Provides access to the FDTD meshing engine.
Inheritance Hierarchy
SystemObject
  ema3d.Api.V25.Core.MeshingFDMeshEngine

Namespace: ema3d.Api.V25.Core.Meshing
Assembly: ema3d.Api.V25 (in ema3d.Api.V25.dll) Version: 0.0.0.0
Syntax
public sealed class FDMeshEngine

The FDMeshEngine type exposes the following members.

Methods
 NameDescription
Public methodStatic memberCreate Creates a new FDMeshEngine for the provided document.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodMesh Meshes all simulation geometry in the entire document.
Public methodMesh(IEnumerableIHasTrimmedGeometry) Meshes only a portion of the geometry in the document.
Public methodMesh(IHasTrimmedGeometry) Meshes only a portion of the geometry in the document.
Public methodMeshChildBodies Mesh all descendant bodies of dscoRoot
Public methodMeshChildLines Mesh all descendant lines of root
Public methodMeshChildSurfaces Mesh all descendant surfaces of root
Public methodMeshHarness Meshes the harness in the document.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks
Multiple mesh engine calls cannot be made concurrently, if a new one is made while one is still executing. The currently executing one will be canceled.
Example
Python
from ema3d.Api.V25.Core.Meshing import FDMeshEngine as FDMeshEngine
from ema3d.Api.V25.Core.Domain import Domain as Domain
# Get domain and mesh
_domain = Domain.GetInstance()
_domain.ResetDomainBounds()
_mesh = FDMeshEngine.Create()
_mesh.Mesh()
See Also