Click or drag to resize

Lattice Class

A wrapped FDTD Lattice object attached to a Domain.
Inheritance Hierarchy
SystemObject
  ema3d.Api.V25.Core.DomainDomainChildBaseLattice
    ema3d.Api.V25.Core.DomainLattice

Namespace: ema3d.Api.V25.Core.Domain
Assembly: ema3d.Api.V25 (in ema3d.Api.V25.dll) Version: 0.0.0.0
Syntax
public sealed class Lattice : DomainChildBase<Lattice>

The Lattice type exposes the following members.

Properties
 NameDescription
Public propertyBounds Gets/Sets lattice bounds with a Box object.
Public propertyDivisions Gets/Sets MPI block divisions.
Public propertyDivisionsX Gets/Sets number of MPI divisions along the x-axis in lattice.
Public propertyDivisionsY Gets/Sets number of MPI divisions along the y-axis in lattice.
Public propertyDivisionsZ Gets/Sets number of MPI divisions along the z-axis in lattice.
Public propertyMaximum Gets/Sets maximum point in the lattice.
Public propertyMaximumX Gets/Sets Maximum x value in lattice.
Public propertyMaximumY Gets/Sets Maximum y value in lattice.
Public propertyMaximumZ Gets/Sets Maximum z value in lattice.
Public propertyMinimum Gets/Sets minimum point in the lattice.
Public propertyMinimumX Gets/Sets minimum x value in lattice.
Public propertyMinimumY Gets/Sets minimum y value in lattice.
Public propertyMinimumZ Gets/Sets minimum z value in lattice.
Public propertyShadeRendering Gets/Sets if lattice box sides should be shaded.
Public propertyShowIncrements Gets/Sets if text increments should be rendered.
Public propertyShowMajorGridlines Gets/Sets if major gridlines should be shown.
Public propertyShowMinorGridlines Gets/Sets if minor gridlines should be shown.
Public propertyStepSize Gets/Sets the step size in the lattice for each coordinate direction.
Public propertyStepSizeX Gets/Sets Step Size x value in lattice.
Public propertyStepSizeY Gets/Sets Step Size y value in lattice.
Public propertyStepSizeZ Gets/Sets Step Size z value in lattice.
Public propertyXCount Gets the number of cells in the x direction.
Public propertyYCount Gets the number of cells in the y direction.
Public propertyZCount Gets the number of cells in the z direction.
Top
Methods
 NameDescription
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 methodSetBounds Sets lattice bounds with a Box object.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks
This object is always attached to a parent FDTD Domain and cannot be created individually. Modifications to, and copies of, this object will operate on the single FDTD domain within the document.
Example
Python
from ema3d.Api.V25.Core.Domain import Domain as Domain

# Get/Create Domain
_dom = Domain.GetInstance()
# Modify Lattice
_dom.Lattice.StepSize = Point.Create(0.01, 0.01, 0.01)
_dom.Lattice.Minimum = Point.Create(0.1,0.1,0.1)
_dom.Lattice.Maximum = Point.Create(1.0, 1.0, 1.0)
See Also