Basic theorems and complementarity rules in the mechanics of continuous structures