Postearthquake analysis of a piled foundation