Nonlinear parameter identification of models for masonry