<commit_before>from pylab import *;
import diffusion;
import forcing;
import pSpectral;
import RungeKutta;
import inversion;

ion();

Nx = 256;
Ny = 256;

xx = linspace(-pi,pi-2*pi/Nx,Nx);
yy = linspace(-pi,pi-2*pi/Ny,Ny);
[x,y]=  meshgrid(xx,yy);




diff = diffusion.specDiffusion(Nx,Ny, alpha=2e-3, nu=1e-16);
p = pSpectral.parSpectral(Nx,Ny);
inv = inversion.specInv(Nx,Ny);
fr = forcing.specForcing(Nx,Ny,38., 42.);

F0 = fr.forcingFn(0);

beta = 10.;

def dfdt(t,f, args=None):

    omega = p.laplacian(f);
    rhs = -beta * p.partialX(f) -p.jacobian(f,omega) + fr.forcingFn(omega);<commit_msg>	 Working at k = 50!<commit_after>from pylab import *;
import diffusion;
import forcing;
import pSpectral;
import RungeKutta;
import inversion;

ion();

Nx = 256;
Ny = 256;

xx = linspace(-pi,pi-2*pi/Nx,Nx);
yy = linspace(-pi,pi-2*pi/Ny,Ny);
[x,y]=  meshgrid(xx,yy);




diff = diffusion.specDiffusion(Nx,Ny, alpha=2e-3, nu=1e-15);
p = pSpectral.parSpectral(Nx,Ny);
inv = inversion.specInv(Nx,Ny);
fr = forcing.specForcing(Nx,Ny,48., 52.);

F0 = fr.forcingFn(0);

beta = 10.;

def dfdt(t,f, args=None):

    omega = p.laplacian(f);
    rhs = -beta * p.partialX(f) -p.jacobian(f,omega) + fr.forcingFn(omega);
{'fraction_non_alphanumeric': 0.19055509527754763, 'fraction_numerical': 0.03645401822700911, 'mean_word_length': 4.566820276497696, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '714363', 'n_tokens_mistral': 605, 'n_tokens_neox': 546, 'n_words': 101}