Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue in recovering perturbation introduced using FFTs #40

Open
shyams2 opened this issue Nov 8, 2017 · 1 comment
Open

Issue in recovering perturbation introduced using FFTs #40

shyams2 opened this issue Nov 8, 2017 · 1 comment

Comments

@shyams2
Copy link
Contributor

shyams2 commented Nov 8, 2017

Commit: 2fac2e0
In the linear theory code when evolving a single mode, we intend to recover the perturbations introduced in the real and imaginary parts by taking FTs of the input distribution function. However, the accuracy of the value recovered is dependant on the resolution considered. This seems to hamper the order of convergence.

For instance, if the input perturbations for the real and imaginary parts are (0.01, 0.02), we find that for N=32 we recover (0.0079, 0.0208) and N = 128, we recover (0.0095, 0.0202).

Current Workaround : The perturbations are setup using the user defined parameters params.pert_real and params.pert_imag. Doing so leads to the expected convergence behaviour

@pavanky
Copy link

pavanky commented Nov 8, 2017

@ShyamSS-95 @mchandra you can specify the scaling factor as a parameter. you don't need to divide the output separately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants