Show / Hide Table of Contents

Class ParallelWork

Models parallel work.

Inheritance
object
FlowModelObject
WorkItem
CompositeWork
ParallelWork
Implements
IFlowModelItem
Inherited Members
CompositeWork.Parallel
CompositeWork.WorkItems
CompositeWork.Batches
CompositeWork.WorkUnits
WorkItem.Tag
WorkItem.JobId
WorkItem.ParentId
WorkItem.Id
WorkItem.GetParent()
WorkItem.Select<T>(Func<WorkItem, T>)
WorkItem.Traverse(Action<WorkItem, WorkItem>, WorkItem)
WorkItem.FindItems(Func<WorkItem, bool>, bool)
WorkItem.OnInitialize(Job)
WorkItem.ToString()
FlowModelObject.BatchNumber
FlowModelObject.Properties
FlowModelObject.PropertiesContent
FlowModelObject.this[string]
FlowModelObject.UpdateProperties(string)
FlowModelObject.UpdateProperties(FlowModelObject)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: DNVGL.One.Compute.Core.FlowModel
Assembly: DNVGL.One.Compute.Core.dll
Syntax
[DataContract]
public class ParallelWork : CompositeWork, IFlowModelItem

Constructors

View Source

ParallelWork()

Initializes a new instance of the ParallelWork class.

Declaration
public ParallelWork()
View Source

ParallelWork(params WorkItem[])

Initializes a new instance of the ParallelWork class.

Declaration
public ParallelWork(params WorkItem[] workItems)
Parameters
Type Name Description
WorkItem[] workItems

The work items.

View Source

ParallelWork(IEnumerable<WorkItem>)

Initializes a new instance of the ParallelWork class.

Declaration
public ParallelWork(IEnumerable<WorkItem> workItems)
Parameters
Type Name Description
IEnumerable<WorkItem> workItems

The work items.

Properties

View Source

ReductionCondition

Gets or sets the reduction options for scheduling reduction task within this ParallelWork.

Declaration
[DataMember]
public ReductionCondition ReductionCondition { get; set; }
Property Value
Type Description
ReductionCondition

The reduction scheduling options for this ParallelWork.

View Source

ReductionTask

Gets or sets the reduction task.

Declaration
[DataMember]
public WorkUnit ReductionTask { get; set; }
Property Value
Type Description
WorkUnit

The reduction task.

Remarks

If non-null, this WorkUnit will execute after all the tasks of this instance have completed.

View Source

SchedulingOptions

Gets or sets the scheduling options for scheduling the work inside this ParallelWork.

Declaration
[DataMember]
public SchedulingOptions SchedulingOptions { get; set; }
Property Value
Type Description
SchedulingOptions

The scheduling options for this ParallelWork.

Methods

View Source

GetDescendants()

Gets the descendants.

Declaration
public override IEnumerable<WorkItem> GetDescendants()
Returns
Type Description
IEnumerable<WorkItem>

Descendant items.

Overrides
CompositeWork.GetDescendants()

Implements

IFlowModelItem

Extension Methods

WorkItemExtensions.GetAncestors(WorkItem, WorkItem)
WorkItemExtensions.GetRelativeWeight(WorkItem, WorkItem)
WorkItemExtensions.BuildExecutableWork(WorkItem)
  • View Source
In this article
Back to top Copyright © DNV AS. All rights reserved.