ana1Tests.simiSolTest.computeXC

computeXC(solSimi, x1, y1, i, L_x, AminusC)[source]

get center of mass location

Parameters
  • solSimi (dictionary) – similarity solution

  • x1 (numpy array) – x coordinate location desiered for the solution

  • y1 (numpy array) – y coordinate location desiered for the solution

  • i (int) – time index

  • L_x (float) – scale in x dir

  • AminusC – A-C coefficient

Returns

xc – x position of the center of the similarity solution pile

Return type

numpy array