Retrieving Information About the Latest Build
The following methods are available to retrieve the information specific to the latest build of a mesh sequence or a mesh feature. Unless stated otherwise, the output of the methods will be empty if the feature or sequence has not yet been built.
Enter
String outSeq[][] = model.component(
<ctag>
).mesh(
<tag>
).buildOutput();
String outFeat[][] = model.component(
<ctag>
).mesh(
<tag>
).feature(
<ftag>
).buildOutput();
to get a matrix with output information from the build of a mesh sequence (also locked meshes) or mesh feature, respectively. The matrix can contain information about generated, imported or modified entities, and elements. See
Information, Warnings, and Errors for Meshing Operations
in the
COMSOL Multiphysics Reference Manual
for more information.
To see the COMSOL version number (and architecture) used for the latest build of a mesh sequence or a feature, use (for mesh sequence)
String versionSeq = model.component(
<ctag>
).mesh(
<tag>
).buildComsolVersion();
To get access to the date and time of the last time a sequence or feature was built, enter
String dateSeq = model.component(
<ctag>
).mesh(
<tag>
).buildDate();
Use
int timeSeq = model.component(
<ctag>
).mesh(
<tag>
).buildTime();
to get the time (in seconds) it took to build a sequence (or feature) the last time it was built. In case the feature has not been built, it will return
-1
.
For information messages specific to a particular feature, use
String infoFeat[] = model.component(
<ctag>
).mesh(
<tag>
).feature(
<ftag>
).buildInfo();
Note that other information may be presented in
MeshInformation
features. See
Retrieving Mesh Problem Information
for more information on accessing this information.