Table of Contents

Class HarmonicFieldBase

Namespace
VirtualLabAPI.Core.FieldRepresentations
Assembly
VirtualLabAPI.dll

Base class for Harmonic Fields and Harmonic Fields Sets.

[Serializable]
public abstract class HarmonicFieldBase : FieldRepresentationObject, IDeserializationCallback, IDisposable, ISerializable, IDocument, IEquatable<IObjectBase>, ICloneable
Inheritance
ObjectBase
SerializableObjectBase
ManualSerialization
HarmonicFieldBase
Implements
IEquatable<IObjectBase>
Derived
Inherited Members
Extension Methods

Constructors

HarmonicFieldBase()

Default constructor to initialize a new instance of the HarmonicFieldBase class.

public HarmonicFieldBase()

HarmonicFieldBase(HarmonicFieldBase)

Copy constructor to initialize a new instance of the HarmonicFieldBase class.

public HarmonicFieldBase(HarmonicFieldBase field)

Parameters

field HarmonicFieldBase

The field to copy.

Properties

IsSpatial

Gets and sets whether the field is in spatial domain (if true) or spectral domain (if false).

public abstract bool IsSpatial { get; set; }

Property Value

bool

PropagatesInPositiveZDirection

Gets or sets whether the sign of the z-component of the k-vector is positive or not.

public abstract bool PropagatesInPositiveZDirection { get; set; }

Property Value

bool

Methods

GetFields()

Gets all member fields in the harmonic field.

public abstract IEnumerable<ComplexAmplitude> GetFields()

Returns

IEnumerable<ComplexAmplitude>

Collection of the member fields.

RemoveSphericalPhaseFactor(CancellationToken?)

Removes the Spherical Phase Factor(s) from the field.

public abstract void RemoveSphericalPhaseFactor(CancellationToken? cancellationToken = null)

Parameters

cancellationToken CancellationToken?

Optional token for cooperative task cancellation.

See Also