You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The factory keyword is used to bind a default component to a facilityArray. Within a .cfg file or on the command line, we can assign an array of components, but we cannot assign a single component acting as the array.
Example
A materials array with a default factory creating an array with one facility.
The
factory
keyword is used to bind a default component to a facilityArray. Within a.cfg
file or on the command line, we can assign an array of components, but we cannot assign a single component acting as the array.Example
A materials array with a default factory creating an array with one facility.
Ok: Use the default
materials.homogeneous = materials.Elastic
Ok: Create array of two materials.
Fails: Replace default factory with another factory.
The text was updated successfully, but these errors were encountered: