<commit_before>##
# c: 01.02.2008, r: 01.02.2008

#fileName_mesh = 'database/simple.mesh'
fileName_mesh = 'database/phono/cube_sphere.mesh'

options = {
    'saveEigVectors' : (10, 10),
    'squared' : False,
}

if fileName_mesh.find( 'cube_' ) >= 0:
    # Domain $Y_1$.
    region_1 = {
        'name' : 'Y1',
        'select' : 'elements of group 1',
    }

    # Domain $Y_2$.
    region_2 = {
        'name' : 'Omega',
        'select' : 'elements of group 2',
    }

    # Surface of $Y_2$.
    region_100 = {
        'name' : 'Surface',
        'select' : 'r.Y1 *n r.Omega',
        'canCells' : False,
    }
else:
    # Whole domain $Y$.
    region_1000 = {
        'name' : 'Omega',
        'select' : 'all',
    }

    # Domain $Y_2$.
    region_2 = {
        'name' : 'Surface',
        'select' : 'nodes of surface',
    }
    
material_1 = {
    'name' : 'm',
    'mode' : 'here',
    'region' : 'Omega',

    'coef' : 0.5,
}

material_2 = {
    'name' : 'matV',
    'mode' : 'function',
    'region' : 'Omega',

    'function' : 'funV',
    'extraArgs' : {'mode' : 'r^2'},
}

field_0 = {
    'name' : 'field_Psi',
    'dim' : (1,1),
    'flags' : (),
    'domain' : 'Omega',
    'bases' : {'Omega' : '3_4_P2'}
}

integral_1 = {
    'name' : 'i1',
    'kind' : 'v',
    'quadrature' : 'gauss_o2_d3',
}

variables = {
       'Psi': ('field', 'unknown', 'field_Psi', (10,), 0),
       'v'  : ('field', 'test', 'field_Psi', (10), 'Psi'),
       'V'  : ('field', 'parameter', 'field_Psi', (10,)),
}

ebc = {
    'Surface' : (('ZeroSurface', (10,), 0.0 ),),
}
<commit_msg>use linear tetrahedrons<commit_after>##
# c: 01.02.2008, r: 01.02.2008

#fileName_mesh = 'database/simple.mesh'
fileName_mesh = 'database/phono/cube_sphere.mesh'

options = {
    'saveEigVectors' : (10, 10),
    'squared' : False,
}

if fileName_mesh.find( 'cube_' ) >= 0:
    # Domain $Y_1$.
    region_1 = {
        'name' : 'Y1',
        'select' : 'elements of group 1',
    }

    # Domain $Y_2$.
    region_2 = {
        'name' : 'Omega',
        'select' : 'elements of group 2',
    }

    # Surface of $Y_2$.
    region_100 = {
        'name' : 'Surface',
        'select' : 'r.Y1 *n r.Omega',
        'canCells' : False,
    }
else:
    # Whole domain $Y$.
    region_1000 = {
        'name' : 'Omega',
        'select' : 'all',
    }

    # Domain $Y_2$.
    region_2 = {
        'name' : 'Surface',
        'select' : 'nodes of surface',
    }
    
material_1 = {
    'name' : 'm',
    'mode' : 'here',
    'region' : 'Omega',

    'coef' : 0.5,
}

material_2 = {
    'name' : 'matV',
    'mode' : 'function',
    'region' : 'Omega',

    'function' : 'funV',
    'extraArgs' : {'mode' : 'r^2'},
}

field_0 = {
    'name' : 'field_Psi',
    'dim' : (1,1),
    'flags' : (),
    'domain' : 'Omega',
    'bases' : {'Omega' : '3_4_P1'}
}

integral_1 = {
    'name' : 'i1',
    'kind' : 'v',
    'quadrature' : 'gauss_o2_d3',
}

variables = {
       'Psi': ('field', 'unknown', 'field_Psi', (10,), 0),
       'v'  : ('field', 'test', 'field_Psi', (10), 'Psi'),
       'V'  : ('field', 'parameter', 'field_Psi', (10,)),
}

ebc = {
    'Surface' : (('ZeroSurface', (10,), 0.0 ),),
}

{'fraction_non_alphanumeric': 0.22348484848484848, 'fraction_numerical': 0.041035353535353536, 'mean_word_length': 2.1469712015888778, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '3049269', 'n_tokens_mistral': 1395, 'n_tokens_neox': 1314, 'n_words': 264}