next up previous contents index
Next: VII.3 Supported Solvers Up: VII. FeResPost as .NET Previous: VII.1 CLA classes   Contents   Index

Subsections


VII.2 Generic FeResPost classes

Most classes defined in this chapter correspond to the same classes in ruby extension.

The two classes ``Iterator'' and ``IterX'' correspond to the iterators defined in the different classes of the NET assembly. These classes are not described in this chapter. Indeed, one considers that the explanations given in section V.0.2.3 for COM component iterators about the use of iterators is sufficient. No corresponding class exists in the ruby extension.


VII.2.1 ``Post'' static class

The ``Post'' static class corresponds to Presently, these methods are

Note that no dyadic ``operator'' ``op*'' is defined in ``Post'' class, as was done in COM component or ruby extension. Instead, these operators are defined as static operators in the ``dflt.ResultResult'', ``dflt.GroupGroup'' and ``dflt.ResKeyListResKeyList'' classes


VII.2.2 Generic DataBase class

This class corresponds to the generic DataBase class of ruby described in Chapter I.1. The class cannot be instantiated; instead, the corresponding specialized classes ``NastranDb'' and ``SamcefDb'' that derive from DataBase can be instantiated.

The iterators of the DataBase class in ruby extension have also been defined in COM component: ``iter_abbreviation'', ``iter_groupName'', ``iter_resultKey'', ``iter_resultKeyCaseId'', ``iter_resultKeySubCaseId'', ``iter_resultKeyLcScId'' and `iter_resultKeyResId'' properties in COM component correspond to the ``each_abbreviation'', ``each_groupName'', ``each_resultKey'',
``each_resultKeyCaseId'', ``each_resultKeySubCaseId'', ``each_resultKeyLcScId'' and
``each_resultKeyResId'' iterators in ruby extension.

The four singleton methods ``enableLayeredResultsReading'', ``disableLayeredResultsReading'', ``enableSubLayersReading'' and ``disableSubLayersReading'' in the ruby extension generic DataBase class are defined as static methods in NET assembly. No instance of the derived class must be created to use these singleton methods.

Similarly, methods``setStorageBufferMaxCapacity'' and ``getStorageBufferMaxCapacity'' are defined as static methods in DataBase class.


VII.2.3 Group class

Most methods of the ``Group'' class are exactly the same as the ones defined in the Group class of ruby extension (Chapter I.3). Several methods or properties are different however:


VII.2.4 CoordSys class

Methods of the ``CoordSys'' class are the same as the ones defined in the CoordSys class in ruby extension. The ``Clone'' method that returns a copy of the object.


VII.2.5 Result class

Most methods of the ``Result'' class are exactly the same as the ones defined in the Result class in ruby extension (Chapter I.4). Several methods or properties are different however:


VII.2.6 ResKeyList class

Methods of the ``ResKeyList'' class are the same as the ones defined in the ResKeyList class in ruby extension. However:


next up previous contents index
Next: VII.3 Supported Solvers Up: VII. FeResPost as .NET Previous: VII.1 CLA classes   Contents   Index
FeResPost 2017-05-28