Click or drag to resize

STAdditionalOutputAddToQuantities Method

Add a set of quantities for one or more components

To get quantites for all components for their active-layer-fraction:

AddToQuantities(quantities, stData, st => STComponentQuantities.ActiveLayerFraction(st));
To get total load quantites for all non-cohesive components:
AddToQuantities(quantities, stData, st => STComponentQuantities.TotalLoad(st), false);

Namespace:  DHI.Mike1D.STDataAccess
Assembly:  DHI.Mike1D.HDParameterDataAccess (in DHI.Mike1D.HDParameterDataAccess.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public static void AddToQuantities(
	List<IQuantity> quantities,
	STData stData,
	Func<STBaseComponent, IQuantity> quantityCreator,
	bool addCohesive = true
)

Parameters

quantities
Type: System.Collections.GenericListIQuantity
List of quantities to add to
stData
Type: DHI.Mike1D.STDataAccessSTData
STData object
quantityCreator
Type: SystemFuncSTBaseComponent, IQuantity
Quantity creator
addCohesive (Optional)
Type: SystemBoolean
Boolean flag. Set to false to only consider non-cohesive components
See Also