<commit_before>////////////////////////////////////////////////////////////////////////////////
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements.  See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership.  The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License.  You may obtain a copy of the License at
// 
//   http://www.apache.org/licenses/LICENSE-2.0
// 
// Unless required by applicable law or agreed to in writing,
// software distributed under the License is distributed on an
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied.  See the License for the
// specific language governing permissions and limitations
// under the License.
////////////////////////////////////////////////////////////////////////////////
//*******************************************************************
// serial version of 2-d pic code 
// last modified: 7/21/2004
// comments: this version reflects changes made by  chakravaritty 
//           deverapalli in the dens subroutine (alterations to
//           rho() calcuation process)
//*******************************************************************
// cpotent2 k2----///nx-not-nx1///oct 1 02
//*******************************************************************
//       using one-dimensional fft and sm(k)
//        theta=0.05 radian bm=0.3
//       bzm = bm*cos(theta) ; bym = bm*sin(theta)   dx=dy=1  ; 
//       o: 9  oxygen ions have no  drift; delt=0.1
//       regular position distribution,   mass ratio =400  bx=1.2
//*******************************************************************
#include <assert.h>
#include <boost/filesystem.hpp>
#include <fstream>
#include <iostream>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <time.h>
#include <vector>

#include <cuda.h>
#include <curand.h>
#include <driver_functions.h>
#include <cuda_runtime.h>
#include <cuda_runtime_api.h>
#include <cuda_profiler_api.h>

#include "array2d.h"
#include "commandline_options.h"
#include "dens.h"
#include "dev_mem_reuse.h"
#include "dev_stream.h"
#include "device_stats.h"
#include "field.h"
#include "global_variables.h"
#include "inject.h"
#include "logging_thread.h"
#include "logging_types.h"
#include "movep.h"
#include "particle_allocator.h"<commit_msg>Removed a comment left over from when this was single threaded on a CPU<commit_after>////////////////////////////////////////////////////////////////////////////////
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements.  See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership.  The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License.  You may obtain a copy of the License at
// 
//   http://www.apache.org/licenses/LICENSE-2.0
// 
// Unless required by applicable law or agreed to in writing,
// software distributed under the License is distributed on an
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied.  See the License for the
// specific language governing permissions and limitations
// under the License.
////////////////////////////////////////////////////////////////////////////////
#include <assert.h>
#include <boost/filesystem.hpp>
#include <fstream>
#include <iostream>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <time.h>
#include <vector>

#include <cuda.h>
#include <curand.h>
#include <driver_functions.h>
#include <cuda_runtime.h>
#include <cuda_runtime_api.h>
#include <cuda_profiler_api.h>

#include "array2d.h"
#include "commandline_options.h"
#include "dens.h"
#include "dev_mem_reuse.h"
#include "dev_stream.h"
#include "device_stats.h"
#include "field.h"
#include "global_variables.h"
#include "inject.h"
#include "logging_thread.h"
#include "logging_types.h"
#include "movep.h"
#include "particle_allocator.h"
{'fraction_non_alphanumeric': 0.24094674556213017, 'fraction_numerical': 0.008994082840236686, 'mean_word_length': 2.9755409219190967, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '4697278', 'n_tokens_mistral': 1194, 'n_tokens_neox': 1152, 'n_words': 413}