subcaseh3discomplex

Queries if a subcase can contain complex data.

Syntax

R = subcaseh3discomplex(fid, [, subcase])

Inputs

fid
Integer representing the file ID, returned from createh3dfile().
Type: double | integer
subcase
A subcase name or index.
Type: string | int

Outputs

R
Value can be 1 or 0 depending on it the subcase can accept complex data or not.
Type: double | integer

Example

% Create H3D file
idx =createh3dfile(resultFile)
% Create H3D layers
lidx1 = cw_h3d_createLayer(idx, 'Layer 1');
lidx2 = cw_h3d_createLayer(idx, 'Layer 2');
	
% Create H3D pools
pidx1 = cw_h3d_createPool(idx, '2D');
pidx2 = cw_h3d_createPool(idx, '3D');

% Create datatype
tidx1  =createh3ddatatype(idx, 'Element Stresses', '3Dtensor', 'elem', 'pools', [pidx1 pidx2], 'layers', [lidx1 lidx2]);