<commit_before>#include<stdio.h>
#include<stdlib.h>
#include<math.h>

// User inputs
typedef struct{
	int x_assemblies;          // Number of assemblies in the x-axis of the reactor
	int y_assemblies;          // Number of assemblies in the y-axis of the reactor
	int cai;                   // This is the number of course axial intervals
	int fai;                   // This is the number of fine axial intervals per course axial interval
	int axial_exp;             // Axial source expansion order
	double radial_ray_sep;     // Radial ray separation
	double axial_z_sep;        // Axial stacked z-ray separation
	int n_azimuthal;           // Number of azimuthal angles
	int n_polar_angles;        // Number of polar angles
	int n_egroups;             // Number of energy groups
	int decompose;             // Turn decomposition on/off (1 on, 0 off)
	int decomp_assemblies_ax; // Number of assemblies per sub-domain (axially)
} Input;

//  Reactor definition
typedef struct{
	double pin_cell_width;     //  Width of a pin cell - Default 1.26 cm
	double pin_radius;         //  Radius of a fuel pin - 0.46 cm
	double assembly_width;     //  Width of an assembly - 1.26 x 17 cm
	int n_radial_regions;      //  Number of radial regions - default 10
	int n_azimuthal_regions;   //  Number of azimuthal regions - default 8
	double * radii;            // Stores the radii of the radial regions
} Reactor;


// goemetry.c
double * determine_radii( Reactor reactor );
void reactor_init( Reactor * reactor );

// init.c
Input get_input( void );<commit_msg>formatting<commit_after>#include<stdio.h>
#include<stdlib.h>
#include<math.h>

// User inputs
typedef struct{
	int x_assemblies;          // Number of assemblies in the x-axis of the reactor
	int y_assemblies;          // Number of assemblies in the y-axis of the reactor
	int cai;                   // This is the number of course axial intervals
	int fai;                   // This is the number of fine axial intervals per course axial interval
	int axial_exp;             // Axial source expansion order
	double radial_ray_sep;     // Radial ray separation
	double axial_z_sep;        // Axial stacked z-ray separation
	int n_azimuthal;           // Number of azimuthal angles
	int n_polar_angles;        // Number of polar angles
	int n_egroups;             // Number of energy groups
	int decompose;             // Turn decomposition on/off (1 on, 0 off)
	int decomp_assemblies_ax;  // Number of assemblies per sub-domain (axially)
} Input;

//  Reactor definition
typedef struct{
	double pin_cell_width;     //  Width of a pin cell - Default 1.26 cm
	double pin_radius;         //  Radius of a fuel pin - 0.46 cm
	double assembly_width;     //  Width of an assembly - 1.26 x 17 cm
	int n_radial_regions;      //  Number of radial regions - default 10
	int n_azimuthal_regions;   //  Number of azimuthal regions - default 8
	double * radii;            // Stores the radii of the radial regions
} Reactor;


// goemetry.c
double * determine_radii( Reactor reactor );
void reactor_init( Reactor * reactor );

// init.c
Input get_input( void );
{'fraction_non_alphanumeric': 0.07428940568475452, 'fraction_numerical': 0.0103359173126615, 'mean_word_length': 2.3958333333333335, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '4702294', 'n_tokens_mistral': 995, 'n_tokens_neox': 884, 'n_words': 356}