21.01.2015 Views

COMSOL Multiphysics™

COMSOL Multiphysics™

COMSOL Multiphysics™

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Attribute<br />

Attribute<br />

Supported Versions 0<br />

Subtype of<br />

Fields<br />

Serializable<br />

The class is defined by the following fields<br />

ENTITY/OBJECT VARIABLE DESCRIPTION<br />

integer<br />

Version<br />

integer n Number of attribute fields<br />

Serializable[n]<br />

Each entity field is stored as a serializable<br />

Description<br />

An Attribute is a general purpose class from which different subtypes can be<br />

derived. Each such subtype should then be serialized using the serialization of the<br />

Attribute class, which means that all that it should add to the serialization is the<br />

version number.<br />

Attributes are used in <strong>COMSOL</strong> Multiphysics for internal purposes, and these<br />

attributes are not documented. However, since Attribute had a strict serialization<br />

structure, the serialization of these attributes are well documented.<br />

Example<br />

This is a serialization of an attribute used internally in <strong>COMSOL</strong> Multiphysics. It is<br />

serialized as a vector of integers.<br />

11 AssocAttrib # class<br />

0 0 # version<br />

1 # nof attribute fields<br />

9 VectorInt # class<br />

18 3 2 2 2 1 0 1 1 1 1 1 1 0 1 1 1 1 0<br />

431

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!