<commit_before>import ninjaopenfoam as ninja

import os

class SchaerWaves:
    def __init__(self, meshes, parallel, fast):
        linearUpwind = os.path.join('src/schaerWaves/linearUpwind')
        cubicFit = os.path.join('src/schaerWaves/cubicFit')

        self.btfLinearUpwind300dz = ninja.SchaerWaves('schaerWaves-btf-300dz-linearUpwind', meshes.btf300dz, 8.0, linearUpwind, parallel, fast, meshes.btfFast)
        self.btfCubicFit300dz = ninja.SchaerWaves('schaerWaves-btf-300dz-cubicFit', meshes.btf300dz, 8.0, cubicFit, parallel, fast, meshes.btfFast)

        self.btfCubicFit50dz = ninja.SchaerWaves('schaerWaves-btf-50dz-cubicFit', meshes.btf50dz, 8.0, cubicFit, parallel, fast, meshes.btfFast)

    def addTo(self, build):
        build.add(self.btfLinearUpwind300dz)
        build.add(self.btfCubicFit300dz)
        build.add(self.btfCubicFit50dz)<commit_msg>add some cutCell and slantedCell schaerWaves tests<commit_after>import ninjaopenfoam as ninja

import os

class SchaerWaves:
    def __init__(self, meshes, parallel, fast):
        linearUpwind = os.path.join('src/schaerWaves/linearUpwind')
        cubicFit = os.path.join('src/schaerWaves/cubicFit')

        self.btfLinearUpwind300dz = ninja.SchaerWaves('schaerWaves-btf-300dz-linearUpwind', meshes.btf300dz, 8.0, linearUpwind, parallel, fast, meshes.btfFast)
        self.btfCubicFit300dz = ninja.SchaerWaves('schaerWaves-btf-300dz-cubicFit', meshes.btf300dz, 8.0, cubicFit, parallel, fast, meshes.btfFast)

        self.btfCubicFit50dz = ninja.SchaerWaves('schaerWaves-btf-50dz-cubicFit', meshes.btf50dz, 8.0, cubicFit, parallel, fast, meshes.btfFast)

        self.cutCellCubicFit300dz = ninja.SchaerWaves('schaerWaves-cutCell-300dz-cubicFit', meshes.cutCell300dz, 8.0, cubicFit, parallel, fast, meshes.btfFast)

        self.slantedCellCubicFit300dz = ninja.SchaerWaves('schaerWaves-slantedCell-300dz-cubicFit', meshes.slantedCell300dz, 8.0, cubicFit, parallel, fast, meshes.btfFast)

    def addTo(self, build):
        build.add(self.btfLinearUpwind300dz)
        build.add(self.btfCubicFit300dz)
        build.add(self.btfCubicFit50dz)

        build.add(self.cutCellCubicFit300dz)

        build.add(self.slantedCellCubicFit300dz)
{'fraction_non_alphanumeric': 0.11206507004066878, 'fraction_numerical': 0.04699502937189336, 'mean_word_length': 4.3349397590361445, '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': '6854957', 'n_tokens_mistral': 986, 'n_tokens_neox': 876, 'n_words': 117}