geodynamics / pylith

PyLith is a finite element code for the solution of dynamic and quasi-static tectonic deformation problems.
Other
150 stars 96 forks source link

Cannot use predefined facility arrays other than the default. #52

Open baagaard-usgs opened 6 years ago

baagaard-usgs commented 6 years ago

A facility array other than the default cannot be bound to a Pyre FacilityArray. The facility array object is treated as an array with a single component rather than a facility array object, like the default.

This is associated with the implementation of the FacilityArray object in Pyre. See https://github.com/geodynamics/pythia/issues/1 for more inofrmation.

baagaard-usgs commented 6 years ago

Workaround is to create a derived class for the object holding the facility array and change the default factory for the facility array.