fastga.models.weight.cg.cg module
FAST - Copyright (c) 2016 ONERA ISAE.
- class fastga.models.weight.cg.cg.CG(**kwargs)[source]
Bases:
openmdao.core.group.GroupModel that computes the global center of gravity.
Defining solvers for cg computation resolution.
- setup()[source]
Build this group.
This method should be overidden by your Group’s method. The reason for using this method to add subsystem is to save memory and setup time when using your Group while running under MPI. This avoids the creation of systems that will not be used in the current process.
You may call ‘add_subsystem’ to add systems to this group. You may also issue connections, and set the linear and nonlinear solvers for this group level. You cannot safely change anything on children systems; use the ‘configure’ method instead.
- Available attributes:
name pathname comm options