<commit_before>from ninjaopenfoam import SchaerAdvectBuilder, SchaerAdvectCollated
import os

class SchaerAdvectSmooth:
    def __init__(self, advect, parallel, fast):
        schaerAdvectCos4 = SchaerAdvectBuilder(
                mountainHeight=3000,
                tracerField=os.path.join('src/schaerAdvectSmooth/cos4TracerField'),
                velocityField=os.path.join('src/schaerAdvectSmooth/velocityField'),
                parallel=parallel,
                fast=fast,
                fastMesh=advect.meshNoOrography5000)

        self.cos4BtfCubicFitCollated = schaerAdvectCos4.collated(
                'schaerAdvectSmooth-cos4-btf-cubicFit-collated',
                fvSchemes=os.path.join('src/schaerAdvect/cubicFit'),
                tests=[
                    SchaerAdvectCollated.Test('schaerAdvectSmooth-cos4-btf-5000-cubicFit', 5000,     advect.meshBtf5000_3000m, timestep=80),
                    SchaerAdvectCollated.Test('schaerAdvectSmooth-cos4-btf-2500-cubicFit', 2500,     advect.meshBtf2500_3000m, timestep=40),
                    SchaerAdvectCollated.Test('schaerAdvectSmooth-cos4-btf-2000-cubicFit', 2000,     advect.meshBtf2000_3000m, timestep=32),
                    SchaerAdvectCollated.Test('schaerAdvectSmooth-cos4-btf-1250-cubicFit', 1250,     advect.meshBtf1250_3000m, timestep=20),
                    SchaerAdvectCollated.Test('schaerAdvectSmooth-cos4-btf-1000-cubicFit', 1000,     advect.meshBtf1000_3000m, timestep=16),
                    SchaerAdvectCollated.Test('schaerAdvectSmooth-cos4-btf-667-cubicFit',  1000/3*2, advect.meshBtf667_3000m,  timestep=10),
                    SchaerAdvectCollated.Test('schaerAdvectSmooth-cos4-btf-500-cubicFit',  500,      advect.meshBtf500_3000m,  timestep=8),
                    SchaerAdvectCollated.Test('schaerAdvectSmooth-cos4-btf-333-cubicFit',  1000/3,   advect.meshBtf333_3000m,  timestep=5),
                    SchaerAdvectCollated.Test('schaerAdvectSmooth-cos4-btf-250-cubicFit',  250,      advect.meshBtf250_3000m,  timestep=4)
                ],
                solverRule='advectionFoamRK4'
        )

        self.cos4BtfHighOrderFitCollated = schaerAdvectCos4.collated(
                'schaerAdvectSmooth-cos4-btf-highOrderFit-collated',
                fvSchemes=os.path.join('src/schaerAdvectSmooth/highOrderFit'),
                tests=[
                    SchaerAdvectCollated.Test('schaerAdvectSmooth-cos4-btf-5000-highOrderFit', 5000,     advect.meshBtf5000_3000m, timestep=80),
                    SchaerAdvectCollated.Test('schaerAdvectSmooth-cos4-btf-2500-highOrderFit', 2500,     advect.meshBtf2500_3000m, timestep=40),
                    SchaerAdvectCollated.Test('schaerAdvectSmooth-cos4-btf-2000-highOrderFit', 2000,     advect.meshBtf2000_3000m, timestep=32),
                    SchaerAdvectCollated.Test('schaerAdvectSmooth-cos4-btf-1250-highOrderFit', 1250,     advect.meshBtf1250_3000m, timestep=20),
                    SchaerAdvectCollated.Test('schaerAdvectSmooth-cos4-btf-1000-highOrderFit', 1000,     advect.meshBtf1000_3000m, timestep=16),
                    SchaerAdvectCollated.Test('schaerAdvectSmooth-cos4-btf-667-highOrderFit',  1000/3*2, advect.meshBtf667_3000m,  timestep=10),
                    SchaerAdvectCollated.Test('schaerAdvectSmooth-cos4-btf-500-highOrderFit',  500,      advect.meshBtf500_3000m,  timestep=8),
                    SchaerAdvectCollated.Test('schaerAdvectSmooth-cos4-btf-333-highOrderFit',  1000/3,   advect.meshBtf333_3000m,  timestep=5),
                    SchaerAdvectCollated.Test('schaerAdvectSmooth-cos4-btf-250-highOrderFit',  250,      advect.meshBtf250_3000m,  timestep=4)
                ],
                controlDict=os.path.join('src/controlDict.highOrderFit.template'),
                solverRule='advectionFoamHighOrderFit'
        )
<commit_msg>make timestep go into 10000<commit_after>from ninjaopenfoam import SchaerAdvectBuilder, SchaerAdvectCollated
import os

class SchaerAdvectSmooth:
    def __init__(self, advect, parallel, fast):
        schaerAdvectCos4 = SchaerAdvectBuilder(
                mountainHeight=3000,
                tracerField=os.path.join('src/schaerAdvectSmooth/cos4TracerField'),
                velocityField=os.path.join('src/schaerAdvectSmooth/velocityField'),
                parallel=parallel,
                fast=fast,
                fastMesh=advect.meshNoOrography5000)

        self.cos4BtfCubicFitCollated = schaerAdvectCos4.collated(
                'schaerAdvectSmooth-cos4-btf-cubicFit-collated',
                fvSchemes=os.path.join('src/schaerAdvect/cubicFit'),
                tests=[
                    SchaerAdvectCollated.Test('schaerAdvectSmooth-cos4-btf-5000-cubicFit', 5000,     advect.meshBtf5000_3000m, timestep=80),
                    SchaerAdvectCollated.Test('schaerAdvectSmooth-cos4-btf-2500-cubicFit', 2500,     advect.meshBtf2500_3000m, timestep=40),
                    SchaerAdvectCollated.Test('schaerAdvectSmooth-cos4-btf-2000-cubicFit', 2000,     advect.meshBtf2000_3000m, timestep=25),
                    SchaerAdvectCollated.Test('schaerAdvectSmooth-cos4-btf-1250-cubicFit', 1250,     advect.meshBtf1250_3000m, timestep=20),
                    SchaerAdvectCollated.Test('schaerAdvectSmooth-cos4-btf-1000-cubicFit', 1000,     advect.meshBtf1000_3000m, timestep=16),
                    SchaerAdvectCollated.Test('schaerAdvectSmooth-cos4-btf-667-cubicFit',  1000/3*2, advect.meshBtf667_3000m,  timestep=10),
                    SchaerAdvectCollated.Test('schaerAdvectSmooth-cos4-btf-500-cubicFit',  500,      advect.meshBtf500_3000m,  timestep=8),
                    SchaerAdvectCollated.Test('schaerAdvectSmooth-cos4-btf-333-cubicFit',  1000/3,   advect.meshBtf333_3000m,  timestep=5),
                    SchaerAdvectCollated.Test('schaerAdvectSmooth-cos4-btf-250-cubicFit',  250,      advect.meshBtf250_3000m,  timestep=4)
                ],
                solverRule='advectionFoamRK4'
        )

        self.cos4BtfHighOrderFitCollated = schaerAdvectCos4.collated(
                'schaerAdvectSmooth-cos4-btf-highOrderFit-collated',
                fvSchemes=os.path.join('src/schaerAdvectSmooth/highOrderFit'),
                tests=[
                    SchaerAdvectCollated.Test('schaerAdvectSmooth-cos4-btf-5000-highOrderFit', 5000,     advect.meshBtf5000_3000m, timestep=80),
                    SchaerAdvectCollated.Test('schaerAdvectSmooth-cos4-btf-2500-highOrderFit', 2500,     advect.meshBtf2500_3000m, timestep=40),
                    SchaerAdvectCollated.Test('schaerAdvectSmooth-cos4-btf-2000-highOrderFit', 2000,     advect.meshBtf2000_3000m, timestep=25),
                    SchaerAdvectCollated.Test('schaerAdvectSmooth-cos4-btf-1250-highOrderFit', 1250,     advect.meshBtf1250_3000m, timestep=20),
                    SchaerAdvectCollated.Test('schaerAdvectSmooth-cos4-btf-1000-highOrderFit', 1000,     advect.meshBtf1000_3000m, timestep=16),
                    SchaerAdvectCollated.Test('schaerAdvectSmooth-cos4-btf-667-highOrderFit',  1000/3*2, advect.meshBtf667_3000m,  timestep=10),
                    SchaerAdvectCollated.Test('schaerAdvectSmooth-cos4-btf-500-highOrderFit',  500,      advect.meshBtf500_3000m,  timestep=8),
                    SchaerAdvectCollated.Test('schaerAdvectSmooth-cos4-btf-333-highOrderFit',  1000/3,   advect.meshBtf333_3000m,  timestep=5),
                    SchaerAdvectCollated.Test('schaerAdvectSmooth-cos4-btf-250-highOrderFit',  250,      advect.meshBtf250_3000m,  timestep=4)
                ],
                controlDict=os.path.join('src/controlDict.highOrderFit.template'),
                solverRule='advectionFoamHighOrderFit'
        )

{'fraction_non_alphanumeric': 0.10049595405899243, 'fraction_numerical': 0.08914121639258679, 'mean_word_length': 2.7508565834557026, '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': '796864', 'n_tokens_mistral': 3502, 'n_tokens_neox': 2858, 'n_words': 218}