contents

no_weight

Called by:   calc_weight each iteration that weighting_type is set to none.

Includes:   iscloc.h

External:
min_phases         set in read_config
max_resid           set in read_config

Input arguments:
Pointer to solution structure.
Array of phase structures.

Structure members updated:
weight in phase structure.
alpha in solution structure.
prev_alpha in solution structure first iteration only.

Return:   0/1 for success/failure.

Dummy weighting function to test the effect of having no weighting at all.  Any phase with a residual less than max_resid is given a weight equal to its weight_factor, The average weighted residual is saved as alpha in the solution structure and also as prev_alpha if it is the first iteration.