1. What I understood from the earlier discussion: we do generate
definitions for framework classes/system classes that are
referenced by user
defined classes. My questions is that what does their inheritance
look like. In the simplest case, the inheritance definition for a
may look like this (my assumption: we discard the belongsTo
I do not understand this question.
2. What about the inheritance definition of user definied classes
that do not
have any children. How do we assign their subclass attribute. I
have tried the
following by putting stub: true
But it didn't work.
There are several reasons why it did not work.
First, the inheritance definition is between 2 ***existent***
classes, not between a class and its non existent children. So, in
this case, because an entity with id = 0 does not exist you would get
an error when loading the file.
Second, it also would not work because whenever you make a reference
to an entity via an id, you have to use (idref: xxx). Thus, an
inheritance definition would look like:
(subclass (idref: XXX))
(superclass (idref: YYY))
Furthermore, we usually do not mark stub the relationships, but we
mark as stub only the structural entities. Thus, if the superclass is
stub, we know the inheritance points to an outside class.
I attached here the corrected file.
For a more detailed example of a valid MSE file, please take a look at:
I generate a file keeping the above defined hypotheses: minimal
and subclass=0 definition for classes having no children but the
file fails to
load in MOOSE. I am attached the file with this mail, just in case.
defines a simple inheritance hierarchy with only one method. The
hierarchy looks like this:
shape <- rectangle,circle,trapezoid
rectangle <- square,rectangle1
Circle <- Eclipse
For this problem, I would greatly appreciate your help coz IMHO the
documentation found on the Web provides several interpretations and
can be a
thanx in advance,
"The coherence of a trip is given by the clearness of the goal."