[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PCView_MG
- To: petsc-dev@xxxxxxxxxxx
- Subject: PCView_MG
- From: "Dave May" <dave.mayhem23@xxxxxxxxx>
- Date: Thu, 22 May 2008 00:34:50 +1000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=wcX7hmMiOW2r3kVAl8e6fHTHQZQ/8rLu20INyiqUJIo=; b=LDtoXR/jUGxvqG9C7hFbbCm8zTLHbxlLnSwmbCXIU7+u6Ehybn0uxpJaea4sHZELrrZT+VrrSv3p651CR+h17t51MWM9XCTsykG2Hpo/1CB1FuLqPvl10E9ikv5hwoo5+q/+IRJwnvFbUgFLdOOzfYT0twkt0pMnbUw4PDnqReo=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=rQVVv4c57OPETLruNlFrHX6GoLWcKYvPf5itHk7pkIqzxR6Llxkp2B5z3V/7aPjP7+utxc2oJQU9yhdBWZ03wkbKfgvm7yXfyfwcP9h5ydNR9CyF12RQFC45HcSbrii/26+3YlT2m9I+s+f64JGrsjDI0Hms75Dw+sJbpdSg9VI=
- Reply-to: petsc-dev@xxxxxxxxxxx
- Sender: owner-petsc-dev@xxxxxxxxxxx
Hey guys,
I just noticed a strange inconsistency within PCView_MG.
This function reports
pre-smooths=%D, post-smooths=%D
using the the values from
mg[0]->default_smoothd,mg[0]->default_smoothu.
However, the values on level 0 are not modified by calls to PCMGSetNumberSmoothDown/Up().
Hence mg[0]->default_smoothd,mg[0]->default_smoothu are always the default value of 1.
The value of the relaxation sweeps is clear from the value of max_it defined on the ksp at each level, so it seem unnecessary (and confusing) to report that the pre/post-smooths based solely on the values of default_smoothd/default_smoothu obtained from level 0.
Cheers,
Dave.