<< Click to Display Table of Contents >> fit+weight 

{ FIT+WEIGHT.PDE
This test shows the use of spatiallyvarying weights in the FIT function.
There are no variables or equations here, just a domain and some tabular
data which is FIT in different ways.
The weight declared in the FIT statement is effectively the square of the
spatial distance over which variations are smoothed.
}
title 'Test VariableWeight FIT'
definitions u = table('table.tbl')
boundaries region 1 start(0,10) line to (0,0) to (10,0) to (10,10) to close
plots grid(x,y) contour(u) contour(fit(u)) as 'unweighted' contour(fit(u,0.2)) as 'constant weight' contour(fit(u,0.02*(x5)^2)) as 'sideweights' contour(fit(u,0.05*x)) as 'rightside weight'
end
