Skip to content

Commit

Permalink
Remove trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
cticenhour committed Sep 12, 2023
1 parent 7bb7455 commit b1f5c5e
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion include/actions/ChemicalReactionsBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class ChemicalReactionsBase : public Action
unsigned int _num_constant_reactions;

bool _mole_factor;
Real N_A;
Real N_A;
Real _rate_factor;

std::string _interpolation_type;
Expand Down
2 changes: 1 addition & 1 deletion include/materials/ADEEDFRateConstantTownsend.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class ADEEDFRateConstantTownsend : public ADMaterial
virtual void computeQpProperties();

SplineInterpolation _coefficient_interpolation;

std::string _coefficient_format;
ADMaterialProperty<Real> & _townsend_coefficient;
const MaterialProperty<Real> & _massIncident;
Expand Down
4 changes: 2 additions & 2 deletions problems/e5_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
data = np.genfromtxt(file, dtype=float, delimiter=',', skip_header=1)
data2 = np.genfromtxt(file2, dtype=float, delimiter=',', skip_header=1)
data3 = np.genfromtxt(file3, dtype=float, delimiter=',', skip_header=1)
names =['Ar','Ar+','Production2','Production0','Production3','e']
names2 =['Ar','Ar+','e','Ar+ and e Production rate','Ar+ + e Recombination rate','test 1-Body Production rate']
names =['Ar','Ar+','Production2','Production0','Production3','e']
names2 =['Ar','Ar+','e','Ar+ and e Production rate','Ar+ + e Recombination rate','test 1-Body Production rate']
names3 =['N','N+','N2','N2+','N2A','N2B','N2C','N2a1','N3+','N4+','Te','Teff','e','rate0','rate1','rate10','rate11','rate12','rate13','rate14','rate15','rate16','rate17','rate18','rate19','rate2','rate20','rate21','rate22','rate23','rate24','rate25','rate26','rate27','rate28','rate29','rate3','rate30','rate31','rate32','rate33','rate4','rate5','rate6','rate7','rate8','rate9']
print(data3)

Expand Down
2 changes: 1 addition & 1 deletion problems/e5_track.i
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
sampling_variable = 'reduced_field'
track_rates = true
# Add reactions here
reactions = 'e + Ar -> e + e + Ar+ : EEDF
reactions = 'e + Ar -> e + e + Ar+ : EEDF
e + Ar+ + Ar -> Ar + Ar : 1e-25
Ar+ -> Ar+ : 1e-14
'
Expand Down
12 changes: 6 additions & 6 deletions problems/first_order_example/lieberman_ex1.i
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# This input file describes a simple system of two first-order reactions
#
# Based on the example shown in the textbook:
# Based on the example shown in the textbook:
#
# Lieberman, Michael A. and Lichtenberg, Allan J. "Principles of Plasma
# Discharges and Materials Processing." Second Edition. John Wiley & Sons, Inc.
# Lieberman, Michael A. and Lichtenberg, Allan J. "Principles of Plasma
# Discharges and Materials Processing." Second Edition. John Wiley & Sons, Inc.
# (2005)
#
# Chapter 9, Section 2, "First-Order Consecutive Reactions)
Expand All @@ -12,7 +12,7 @@
[Mesh]
# 'Dummy' mesh - a mesh is always needed to run MOOSE, but
# scalar variables do not exist on a mesh.
# When you're doing a 0D problem you just need to give MOOSE
# When you're doing a 0D problem you just need to give MOOSE
# a single element to work with.
type = GeneratedMesh
dim = 1
Expand Down Expand Up @@ -104,8 +104,8 @@
[]

# This next one is optional, but highly recommended.
# Without this, scalar variables are printed on the terminal as the
# simulation runs.
# Without this, scalar variables are printed on the terminal as the
# simulation runs.
# It's best to keep this on to prevent things from being cluttered.
[console]
type = Console
Expand Down
2 changes: 1 addition & 1 deletion problems/first_order_example/lieberman_ex1_comp.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def exact_solution(time, n0, KA, KB):
Equations 9.2.5 (nA), 9.2.6 (nB), 9.2.8 (nC)
'''
nA = n0 * np.exp(-KA * time)

nB = n0 * KA / (KB - KA) * (np.exp(-KA * time) - np.exp(-KB * time))

nC = n0 * (1. + 1./(KA - KB) * (KB * np.exp(-KA * time) - KA * np.exp(-KB * time)))
Expand Down
4 changes: 2 additions & 2 deletions tutorials/TwoReactionArgon/TwoReactionArgon_plot.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# import numpy for reading .txt file
import numpy as np
import numpy as np
# import matplotlib for visualization
import matplotlib.pyplot as plt

Expand All @@ -24,7 +24,7 @@
n_e = data[:,3] # cm^-3

# select ionization rate coefficient
k_ion = data[:,4] # cm^3 s^-1
k_ion = data[:,4] # cm^3 s^-1

# select recombination rate coefficient
k_rec = data[:,5] # cm^6 s^-1
Expand Down
4 changes: 2 additions & 2 deletions tutorials/TwoReactionArgon/data/RateCoeffReader.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
# delete first line that contains non-acceptable string information
data = data[1:,:]

# select reduced electric field column
# select reduced electric field column
RedField = data[:,0] # Td

# select ionization rate coefficient
# select ionization rate coefficient
kIon = data[:,3] # m^3/s
# convert to cm3/s
kIon = kIon*1e6 # cm^3/s
Expand Down

0 comments on commit b1f5c5e

Please sign in to comment.