Show / Hide Table of Contents

Class ParallelWork

Models parallel work

Inheritance
System.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, Boolean>, Boolean)
WorkItem.OnInitialize(Job)
WorkItem.ToString()
FlowModelObject.BatchNumber
FlowModelObject.Properties
FlowModelObject.PropertiesContent
FlowModelObject.Item[String]
FlowModelObject.UpdateProperties(String)
Namespace: DNVGL.One.Compute.Core.FlowModel
Assembly: DNVGL.One.Compute.Core.dll
Syntax
public class ParallelWork : CompositeWork, IFlowModelItem

Constructors

View Source

ParallelWork()

Initializes a new instance of the ParallelWork class.

Declaration
public ParallelWork()
View Source

ParallelWork(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

ReductionTask

Gets or sets the reduction task.

Declaration
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
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.GetRelativeWeight(WorkItem, WorkItem)
WorkItemExtensions.GetAncestors(WorkItem, WorkItem)
  • View Source
Back to top Copyright © DNV GL AS. All rights reserved.