# ?combamax1

Finds the element with maximum real part absolute value and its corresponding global index.

## Syntax

call ccombamax1(v1, v2)

call zcombamax1(v1, v2)

## Description

This routine finds the element having maximum real part absolute value as well as its corresponding global index.

## Input Parameters

v1

  (local)

  COMPLEX for ccombamax1

  COMPLEX*16 for zcombamax1 Array, DIMENSION 2. The first maximum absolute value element and its global index. `v1(1)=amax`, `v1(2)=indx`.

v2

  (local)

  COMPLEX for ccombamax1

  COMPLEX*16 for zcombamax1

  Array, DIMENSION 2. The second maximum absolute value element and its global index. `v2(1)=amax`, `v2(2)=indx`.

## Output Parameters

v1

  (local).

  The first maximum absolute value element and its global index. `v1(1)=amax`, `v1(2)=indx`.

Parent topic: Auxiliary Routines