OpenMDAO/OpenMDAO-Framework — Issue #801: connections need to be made after tree_rooted()
Author: JustinSGray
Created: 2012-01-30 14:27:43+00:00
State: open

Some components require connections to be made after the tree_rooted() method is called. This can cause confusion, because normally we just define them in __init__().

There should be one place where all configuration gets done. create a new method in the Component API called config(). This function should get overloaded by subclasses of Component.

config can be called by tree_rooted() in the base class, so the timing is perserved.

All component configuration should move into config, and the use of __init__ should stop. All docs need to be updated, all examples as well.

relevant discussion at:
http://openmdao.org/forum/questions/86/where-to-make-connections