In specific_to_devel_stage.h, the macro DAMAGEDZONELAW is used:
- To switch between some evaluators inside compute_elastic (it was some king of "ancestor" of the class xEnergyModel) (for instance the Anisotropic evaluators ???)
- To switch between different behavior inside the fully damaged zone. This is done directly into the implementation of the evaluators of the stress tensors, tangent matrix, etc, in xEnergyModel.cc.
In the future, DAMAGEDZONELAW should be removed:
- xEnergyModel can eventually be used to switch between the evaluators
- If DAMAGEDZONELAW (which is specific to DamageBand) is removed, xEnergyModel could be put in Xfiles (for instance), to be usable in any other Appli than DamageBand
As there is no urgent need for the moment, things are kept as is, but if someday the evaluators of xEnergyModel are needed in another Appli, the cleaning/transfer will have to be done.