<commit_before>from firedrake.petsc import PETSc
from argparse import ArgumentParser
from driver import run_profliler
import sys


PETSc.Log.begin()

parser = ArgumentParser(description=("""
Profile of 3D compressible solver for the Euler equations (dry atmosphere).
"""), add_help=False)

parser.add_argument("--hybridization",
                    action="store_true",
                    help="Use a hybridized compressible solver.")

parser.add_argument("--model_degree",
                    default=1,
                    type=int,
                    action="store",
                    help="Model degree")

parser.add_argument("--model_family",
                    default="RTCF",
                    choices=["RTCF", "RT"],
                    help="Family of finite element spaces")

parser.add_argument("--mesh_degree",
                    default=3,
                    type=int,
                    action="store",
                    help="Coordinate space degree")

parser.add_argument("--cfl",
                    default=1.,
                    type=float,
                    action="store",
                    help="CFL number to run at (determines dt).")

parser.add_argument("--dt",
                    default=0.0,
                    type=float,
                    action="store",
                    help="Manually set dt")<commit_msg>Don't need dt arg; use CFL to compute dt<commit_after>from firedrake.petsc import PETSc
from argparse import ArgumentParser
from driver import run_profliler
import sys


PETSc.Log.begin()

parser = ArgumentParser(description=("""
Profile of 3D compressible solver for the Euler equations (dry atmosphere).
"""), add_help=False)

parser.add_argument("--hybridization",
                    action="store_true",
                    help="Use a hybridized compressible solver.")

parser.add_argument("--model_degree",
                    default=1,
                    type=int,
                    action="store",
                    help="Model degree")

parser.add_argument("--model_family",
                    default="RTCF",
                    choices=["RTCF", "RT"],
                    help="Family of finite element spaces")

parser.add_argument("--mesh_degree",
                    default=3,
                    type=int,
                    action="store",
                    help="Coordinate space degree")

parser.add_argument("--cfl",
                    default=1.,
                    type=float,
                    action="store",
                    help="CFL number to run at (determines dt).")
{'fraction_non_alphanumeric': 0.10649047804119705, 'fraction_numerical': 0.00388651379712398, 'mean_word_length': 1.6238532110091743, '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': '2639920', 'n_tokens_mistral': 667, 'n_tokens_neox': 609, 'n_words': 152}