Package mbdyn :: Module groups :: Class Elements
[hide private]

Class Elements

source code

record.RecordBase --+            
                    |            
        record.Record --+        
                        |        
       common.BasicObject --+    
                            |    
              CommonContainer --+
                                |
                               Elements

The elements of the Simulation. The instance of that class will be the elts attribute of the Simulation. All the elements are contained there in the all attribute and this class gather all the element groups.

Instance Methods [hide private]
 
__init__(self) source code
 
add(self, elt)
Add an element to the global list, all, and create the element group if it does not exist.
source code
 
collect_parameters(self)
Collect the parameters to save on all the elements
source code
 
set_parameters(self, para)
Set the parameters according to the dictionary para received.
source code
 
set_node_connectivity(self)
Set the node label (or index) to the element attributes.
source code

Inherited from CommonContainer: __repr__, add_group, get_number, init_results, write_into

Inherited from common.BasicObject: get_lines, get_mbdyn_instance, set_comment, set_label, set_name, set_simulation_ref

Inherited from record.Record: common_init_results, save, set_own_parameters, will_save, will_save_nothing, will_save_only

Inherited from record.RecordBase: collect_own_parameters, set_own_para

Inherited from record.RecordBase (private): _collect_own_para

Method Details [hide private]

__init__(self)
(Constructor)

source code 
Overrides: CommonContainer.__init__

collect_parameters(self)

source code 
Collect the parameters to save on all the elements
Overrides: record.RecordBase.collect_parameters

set_parameters(self, para)

source code 
Set the parameters according to the dictionary para received. The elements are created there from the ELEM_CLASS dictionary.
Overrides: record.RecordBase.set_parameters