ModelSetComponentBlockMassFraction

Top  Previous  Next

Writes the internal mass fraction of the block.

 

Note: For components that are not copolymer's this value will always be 1.

 

 

This function is defined in C++ as:

extern "C" __declspec(dllexport) int __stdcall ModelSetComponentBlockMassFraction(int ComponentIndex, int BlockIndex, double Value)

 

Return

The function return -1 if no problem was found. If a different number is returned use the function ErrorGetMessage for more information.

 

Input

Argument

Type

Description

ComponetIndex

int

Index the component has in the total component list

BlockIndex

int

The block the parameter is for

Value

double

Mass fraction of the block in the copolymer/component

Units: [-]