diff --git a/code/drasil-gool/lib/GOOL/Drasil/LanguageRenderer.hs b/code/drasil-gool/lib/GOOL/Drasil/LanguageRenderer.hs index 21e8c7f494..f5c5d13a24 100644 --- a/code/drasil-gool/lib/GOOL/Drasil/LanguageRenderer.hs +++ b/code/drasil-gool/lib/GOOL/Drasil/LanguageRenderer.hs @@ -419,7 +419,7 @@ moduleDox desc as date m = (doxFile ++ m) : [doxNote ++ watermark] commentedMod :: FileData -> Doc -> FileData -commentedMod m cmt = updateFileMod (updateMod (commentedItem cmt) (fileMod m)) m +commentedMod m cmt = updateFileMod (updateMod (commentedItem $ cmt $+$ blank) (fileMod m)) m -- Helper Functions -- diff --git a/code/stable/dblpend/src/cpp/Calculations.hpp b/code/stable/dblpend/src/cpp/Calculations.hpp index 148ececacb..e44efdd867 100644 --- a/code/stable/dblpend/src/cpp/Calculations.hpp +++ b/code/stable/dblpend/src/cpp/Calculations.hpp @@ -3,6 +3,7 @@ \brief Provides functions for calculating the outputs \note Generated by Drasil v0.1-alpha */ + #ifndef Calculations_h #define Calculations_h diff --git a/code/stable/dblpend/src/cpp/Constants.hpp b/code/stable/dblpend/src/cpp/Constants.hpp index 76e548b96a..689e79e38c 100644 --- a/code/stable/dblpend/src/cpp/Constants.hpp +++ b/code/stable/dblpend/src/cpp/Constants.hpp @@ -3,6 +3,7 @@ \brief Provides the structure for holding constant values \note Generated by Drasil v0.1-alpha */ + #ifndef Constants_h #define Constants_h diff --git a/code/stable/dblpend/src/cpp/Control.cpp b/code/stable/dblpend/src/cpp/Control.cpp index 69ada06886..22d11f289f 100644 --- a/code/stable/dblpend/src/cpp/Control.cpp +++ b/code/stable/dblpend/src/cpp/Control.cpp @@ -3,6 +3,7 @@ \brief Controls the flow of the program \note Generated by Drasil v0.1-alpha */ + #include #include diff --git a/code/stable/dblpend/src/cpp/InputParameters.hpp b/code/stable/dblpend/src/cpp/InputParameters.hpp index aa360e5c06..e6c183b8eb 100644 --- a/code/stable/dblpend/src/cpp/InputParameters.hpp +++ b/code/stable/dblpend/src/cpp/InputParameters.hpp @@ -3,6 +3,7 @@ \brief Provides the function for reading inputs and the function for checking the physical constraints on the input \note Generated by Drasil v0.1-alpha */ + #ifndef InputParameters_h #define InputParameters_h diff --git a/code/stable/dblpend/src/cpp/ODE.hpp b/code/stable/dblpend/src/cpp/ODE.hpp index 13334d24da..3729b6bc58 100644 --- a/code/stable/dblpend/src/cpp/ODE.hpp +++ b/code/stable/dblpend/src/cpp/ODE.hpp @@ -3,6 +3,7 @@ \brief Class representing an ODE system \note Generated by Drasil v0.1-alpha */ + #ifndef ODE_h #define ODE_h diff --git a/code/stable/dblpend/src/cpp/OutputFormat.hpp b/code/stable/dblpend/src/cpp/OutputFormat.hpp index 752426bb6d..8d38ad78d6 100644 --- a/code/stable/dblpend/src/cpp/OutputFormat.hpp +++ b/code/stable/dblpend/src/cpp/OutputFormat.hpp @@ -3,6 +3,7 @@ \brief Provides the function for writing outputs \note Generated by Drasil v0.1-alpha */ + #ifndef OutputFormat_h #define OutputFormat_h diff --git a/code/stable/dblpend/src/cpp/Populate.hpp b/code/stable/dblpend/src/cpp/Populate.hpp index 366fb585a8..0486855767 100644 --- a/code/stable/dblpend/src/cpp/Populate.hpp +++ b/code/stable/dblpend/src/cpp/Populate.hpp @@ -3,6 +3,7 @@ \brief Class for populating a list during an ODE solution process \note Generated by Drasil v0.1-alpha */ + #ifndef Populate_h #define Populate_h diff --git a/code/stable/dblpend/src/csharp/Calculations.cs b/code/stable/dblpend/src/csharp/Calculations.cs index 7b42442f3a..bd7a7a1730 100644 --- a/code/stable/dblpend/src/csharp/Calculations.cs +++ b/code/stable/dblpend/src/csharp/Calculations.cs @@ -3,6 +3,7 @@ \brief Provides functions for calculating the outputs \note Generated by Drasil v0.1-alpha */ + using System; using System.Collections.Generic; using Microsoft.Research.Oslo; diff --git a/code/stable/dblpend/src/csharp/Constants.cs b/code/stable/dblpend/src/csharp/Constants.cs index 8a8f944569..73f7271c42 100644 --- a/code/stable/dblpend/src/csharp/Constants.cs +++ b/code/stable/dblpend/src/csharp/Constants.cs @@ -3,6 +3,7 @@ \brief Provides the structure for holding constant values \note Generated by Drasil v0.1-alpha */ + /** \brief Structure for holding the constant values */ public class Constants { diff --git a/code/stable/dblpend/src/csharp/Control.cs b/code/stable/dblpend/src/csharp/Control.cs index 43af6bcf9a..a96d184431 100644 --- a/code/stable/dblpend/src/csharp/Control.cs +++ b/code/stable/dblpend/src/csharp/Control.cs @@ -3,6 +3,7 @@ \brief Controls the flow of the program \note Generated by Drasil v0.1-alpha */ + using System.Collections.Generic; public class Control { diff --git a/code/stable/dblpend/src/csharp/InputParameters.cs b/code/stable/dblpend/src/csharp/InputParameters.cs index f3e9bbced7..b750ee260b 100644 --- a/code/stable/dblpend/src/csharp/InputParameters.cs +++ b/code/stable/dblpend/src/csharp/InputParameters.cs @@ -3,6 +3,7 @@ \brief Provides the function for reading inputs and the function for checking the physical constraints on the input \note Generated by Drasil v0.1-alpha */ + using System; using System.IO; diff --git a/code/stable/dblpend/src/csharp/OutputFormat.cs b/code/stable/dblpend/src/csharp/OutputFormat.cs index 4dc81d12b7..78faabe696 100644 --- a/code/stable/dblpend/src/csharp/OutputFormat.cs +++ b/code/stable/dblpend/src/csharp/OutputFormat.cs @@ -3,6 +3,7 @@ \brief Provides the function for writing outputs \note Generated by Drasil v0.1-alpha */ + using System; using System.Collections.Generic; using System.IO; diff --git a/code/stable/dblpend/src/java/DblPend/Calculations.java b/code/stable/dblpend/src/java/DblPend/Calculations.java index 871fd57c48..16780e7c2a 100644 --- a/code/stable/dblpend/src/java/DblPend/Calculations.java +++ b/code/stable/dblpend/src/java/DblPend/Calculations.java @@ -5,6 +5,7 @@ \brief Provides functions for calculating the outputs \note Generated by Drasil v0.1-alpha */ + import java.util.ArrayList; import org.apache.commons.math3.ode.FirstOrderIntegrator; import org.apache.commons.math3.ode.nonstiff.DormandPrince54Integrator; diff --git a/code/stable/dblpend/src/java/DblPend/Constants.java b/code/stable/dblpend/src/java/DblPend/Constants.java index 86ab4acea6..baa1528b58 100644 --- a/code/stable/dblpend/src/java/DblPend/Constants.java +++ b/code/stable/dblpend/src/java/DblPend/Constants.java @@ -5,6 +5,7 @@ \brief Provides the structure for holding constant values \note Generated by Drasil v0.1-alpha */ + /** \brief Structure for holding the constant values */ public class Constants { diff --git a/code/stable/dblpend/src/java/DblPend/Control.java b/code/stable/dblpend/src/java/DblPend/Control.java index 9e192d23da..094e0d5386 100644 --- a/code/stable/dblpend/src/java/DblPend/Control.java +++ b/code/stable/dblpend/src/java/DblPend/Control.java @@ -5,6 +5,7 @@ \brief Controls the flow of the program \note Generated by Drasil v0.1-alpha */ + import java.io.FileNotFoundException; import java.io.IOException; import java.util.ArrayList; diff --git a/code/stable/dblpend/src/java/DblPend/InputParameters.java b/code/stable/dblpend/src/java/DblPend/InputParameters.java index 135e811c40..653c372c95 100644 --- a/code/stable/dblpend/src/java/DblPend/InputParameters.java +++ b/code/stable/dblpend/src/java/DblPend/InputParameters.java @@ -5,6 +5,7 @@ \brief Provides the function for reading inputs and the function for checking the physical constraints on the input \note Generated by Drasil v0.1-alpha */ + import java.io.File; import java.io.FileNotFoundException; import java.util.Scanner; diff --git a/code/stable/dblpend/src/java/DblPend/ODE.java b/code/stable/dblpend/src/java/DblPend/ODE.java index 313f27b62b..3042cf7884 100644 --- a/code/stable/dblpend/src/java/DblPend/ODE.java +++ b/code/stable/dblpend/src/java/DblPend/ODE.java @@ -5,6 +5,7 @@ \brief Class representing an ODE system \note Generated by Drasil v0.1-alpha */ + import org.apache.commons.math3.ode.FirstOrderDifferentialEquations; /** \brief Class representing an ODE system diff --git a/code/stable/dblpend/src/java/DblPend/ODEStepHandler.java b/code/stable/dblpend/src/java/DblPend/ODEStepHandler.java index 47a2d83bcc..52c9eb0512 100644 --- a/code/stable/dblpend/src/java/DblPend/ODEStepHandler.java +++ b/code/stable/dblpend/src/java/DblPend/ODEStepHandler.java @@ -5,6 +5,7 @@ \brief Class defining additional behaviour for each step of an ODE solution \note Generated by Drasil v0.1-alpha */ + import java.util.ArrayList; import java.util.Arrays; import org.apache.commons.math3.ode.sampling.StepHandler; diff --git a/code/stable/dblpend/src/java/DblPend/OutputFormat.java b/code/stable/dblpend/src/java/DblPend/OutputFormat.java index f335ad7eb0..097c25ebc6 100644 --- a/code/stable/dblpend/src/java/DblPend/OutputFormat.java +++ b/code/stable/dblpend/src/java/DblPend/OutputFormat.java @@ -5,6 +5,7 @@ \brief Provides the function for writing outputs \note Generated by Drasil v0.1-alpha */ + import java.io.File; import java.io.FileWriter; import java.io.IOException; diff --git a/code/stable/dblpend/src/python/Calculations.py b/code/stable/dblpend/src/python/Calculations.py index 05142a2a18..f7ece42e60 100644 --- a/code/stable/dblpend/src/python/Calculations.py +++ b/code/stable/dblpend/src/python/Calculations.py @@ -2,6 +2,7 @@ # \author Dong Chen # \brief Provides functions for calculating the outputs # \note Generated by Drasil v0.1-alpha + import math import scipy.integrate diff --git a/code/stable/dblpend/src/python/Constants.py b/code/stable/dblpend/src/python/Constants.py index 0d7f6eeab5..1f33df4910 100644 --- a/code/stable/dblpend/src/python/Constants.py +++ b/code/stable/dblpend/src/python/Constants.py @@ -2,6 +2,7 @@ # \author Dong Chen # \brief Provides the structure for holding constant values # \note Generated by Drasil v0.1-alpha + ## \brief Structure for holding the constant values class Constants: g = 9.8 diff --git a/code/stable/dblpend/src/python/Control.py b/code/stable/dblpend/src/python/Control.py index d8fd35797a..11e10c00ff 100644 --- a/code/stable/dblpend/src/python/Control.py +++ b/code/stable/dblpend/src/python/Control.py @@ -2,6 +2,7 @@ # \author Dong Chen # \brief Controls the flow of the program # \note Generated by Drasil v0.1-alpha + import sys import Calculations diff --git a/code/stable/dblpend/src/python/InputParameters.py b/code/stable/dblpend/src/python/InputParameters.py index 31ee7a7568..341a362491 100644 --- a/code/stable/dblpend/src/python/InputParameters.py +++ b/code/stable/dblpend/src/python/InputParameters.py @@ -2,6 +2,7 @@ # \author Dong Chen # \brief Provides the function for reading inputs and the function for checking the physical constraints on the input # \note Generated by Drasil v0.1-alpha + ## \brief Reads input from a file with the given file name # \param filename name of the input file # \return length of the first rod (m) diff --git a/code/stable/dblpend/src/python/OutputFormat.py b/code/stable/dblpend/src/python/OutputFormat.py index 3cca830b4b..3ed40aa0a8 100644 --- a/code/stable/dblpend/src/python/OutputFormat.py +++ b/code/stable/dblpend/src/python/OutputFormat.py @@ -2,6 +2,7 @@ # \author Dong Chen # \brief Provides the function for writing outputs # \note Generated by Drasil v0.1-alpha + ## \brief Writes the output values to output.txt # \param theta dependent variables (rad) def write_output(theta): diff --git a/code/stable/glassbr/src/cpp/Calculations.hpp b/code/stable/glassbr/src/cpp/Calculations.hpp index bb7a024883..0be911deda 100644 --- a/code/stable/glassbr/src/cpp/Calculations.hpp +++ b/code/stable/glassbr/src/cpp/Calculations.hpp @@ -3,6 +3,7 @@ \brief Provides functions for calculating the outputs \note Generated by Drasil v0.1-alpha */ + #ifndef Calculations_h #define Calculations_h diff --git a/code/stable/glassbr/src/cpp/Control.cpp b/code/stable/glassbr/src/cpp/Control.cpp index c24fb70f07..576cc8e7f4 100644 --- a/code/stable/glassbr/src/cpp/Control.cpp +++ b/code/stable/glassbr/src/cpp/Control.cpp @@ -3,6 +3,7 @@ \brief Controls the flow of the program \note Generated by Drasil v0.1-alpha */ + #include #include #include diff --git a/code/stable/glassbr/src/cpp/DerivedValues.hpp b/code/stable/glassbr/src/cpp/DerivedValues.hpp index 4522410cca..a912586e0d 100644 --- a/code/stable/glassbr/src/cpp/DerivedValues.hpp +++ b/code/stable/glassbr/src/cpp/DerivedValues.hpp @@ -3,6 +3,7 @@ \brief Provides the function for calculating derived values \note Generated by Drasil v0.1-alpha */ + #ifndef DerivedValues_h #define DerivedValues_h diff --git a/code/stable/glassbr/src/cpp/InputConstraints.hpp b/code/stable/glassbr/src/cpp/InputConstraints.hpp index 0d1882d26d..0e3b54c99b 100644 --- a/code/stable/glassbr/src/cpp/InputConstraints.hpp +++ b/code/stable/glassbr/src/cpp/InputConstraints.hpp @@ -3,6 +3,7 @@ \brief Provides the function for checking the physical constraints and software constraints on the input \note Generated by Drasil v0.1-alpha */ + #ifndef InputConstraints_h #define InputConstraints_h diff --git a/code/stable/glassbr/src/cpp/InputFormat.hpp b/code/stable/glassbr/src/cpp/InputFormat.hpp index 8dea07b896..d3db60348e 100644 --- a/code/stable/glassbr/src/cpp/InputFormat.hpp +++ b/code/stable/glassbr/src/cpp/InputFormat.hpp @@ -3,6 +3,7 @@ \brief Provides the function for reading inputs \note Generated by Drasil v0.1-alpha */ + #ifndef InputFormat_h #define InputFormat_h diff --git a/code/stable/glassbr/src/cpp/InputParameters.hpp b/code/stable/glassbr/src/cpp/InputParameters.hpp index b395810c88..ba553e755f 100644 --- a/code/stable/glassbr/src/cpp/InputParameters.hpp +++ b/code/stable/glassbr/src/cpp/InputParameters.hpp @@ -3,6 +3,7 @@ \brief Provides the structure for holding input values \note Generated by Drasil v0.1-alpha */ + #ifndef InputParameters_h #define InputParameters_h diff --git a/code/stable/glassbr/src/cpp/Interpolation.hpp b/code/stable/glassbr/src/cpp/Interpolation.hpp index 90566f3583..7675c86640 100644 --- a/code/stable/glassbr/src/cpp/Interpolation.hpp +++ b/code/stable/glassbr/src/cpp/Interpolation.hpp @@ -3,6 +3,7 @@ \brief Provides functions for linear interpolation on three-dimensional data \note Generated by Drasil v0.1-alpha */ + #ifndef Interpolation_h #define Interpolation_h diff --git a/code/stable/glassbr/src/cpp/OutputFormat.hpp b/code/stable/glassbr/src/cpp/OutputFormat.hpp index bbdd678425..c80f3e751c 100644 --- a/code/stable/glassbr/src/cpp/OutputFormat.hpp +++ b/code/stable/glassbr/src/cpp/OutputFormat.hpp @@ -3,6 +3,7 @@ \brief Provides the function for writing outputs \note Generated by Drasil v0.1-alpha */ + #ifndef OutputFormat_h #define OutputFormat_h diff --git a/code/stable/glassbr/src/cpp/ReadTable.hpp b/code/stable/glassbr/src/cpp/ReadTable.hpp index da8801291a..f38ed8cc5a 100644 --- a/code/stable/glassbr/src/cpp/ReadTable.hpp +++ b/code/stable/glassbr/src/cpp/ReadTable.hpp @@ -3,6 +3,7 @@ \brief Provides a function for reading glass ASTM data \note Generated by Drasil v0.1-alpha */ + #ifndef ReadTable_h #define ReadTable_h diff --git a/code/stable/glassbr/src/csharp/Calculations.cs b/code/stable/glassbr/src/csharp/Calculations.cs index 3421297925..e3d2b72050 100644 --- a/code/stable/glassbr/src/csharp/Calculations.cs +++ b/code/stable/glassbr/src/csharp/Calculations.cs @@ -3,6 +3,7 @@ \brief Provides functions for calculating the outputs \note Generated by Drasil v0.1-alpha */ + using System; using System.IO; diff --git a/code/stable/glassbr/src/csharp/Control.cs b/code/stable/glassbr/src/csharp/Control.cs index f741f4ff5d..96cab6e3c9 100644 --- a/code/stable/glassbr/src/csharp/Control.cs +++ b/code/stable/glassbr/src/csharp/Control.cs @@ -3,6 +3,7 @@ \brief Controls the flow of the program \note Generated by Drasil v0.1-alpha */ + using System; using System.IO; diff --git a/code/stable/glassbr/src/csharp/DerivedValues.cs b/code/stable/glassbr/src/csharp/DerivedValues.cs index 91c69fcd81..bb866a400b 100644 --- a/code/stable/glassbr/src/csharp/DerivedValues.cs +++ b/code/stable/glassbr/src/csharp/DerivedValues.cs @@ -3,6 +3,7 @@ \brief Provides the function for calculating derived values \note Generated by Drasil v0.1-alpha */ + using System; using System.IO; diff --git a/code/stable/glassbr/src/csharp/InputConstraints.cs b/code/stable/glassbr/src/csharp/InputConstraints.cs index cf856fcb66..31c616c6a4 100644 --- a/code/stable/glassbr/src/csharp/InputConstraints.cs +++ b/code/stable/glassbr/src/csharp/InputConstraints.cs @@ -3,6 +3,7 @@ \brief Provides the function for checking the physical constraints and software constraints on the input \note Generated by Drasil v0.1-alpha */ + using System; using System.IO; diff --git a/code/stable/glassbr/src/csharp/InputFormat.cs b/code/stable/glassbr/src/csharp/InputFormat.cs index 53356bdc04..9d639f8eeb 100644 --- a/code/stable/glassbr/src/csharp/InputFormat.cs +++ b/code/stable/glassbr/src/csharp/InputFormat.cs @@ -3,6 +3,7 @@ \brief Provides the function for reading inputs \note Generated by Drasil v0.1-alpha */ + using System; using System.IO; diff --git a/code/stable/glassbr/src/csharp/InputParameters.cs b/code/stable/glassbr/src/csharp/InputParameters.cs index c05734bb60..046e2b76d5 100644 --- a/code/stable/glassbr/src/csharp/InputParameters.cs +++ b/code/stable/glassbr/src/csharp/InputParameters.cs @@ -3,6 +3,7 @@ \brief Provides the structure for holding input values \note Generated by Drasil v0.1-alpha */ + /** \brief Structure for holding the input values and derived values */ public class InputParameters { diff --git a/code/stable/glassbr/src/csharp/Interpolation.cs b/code/stable/glassbr/src/csharp/Interpolation.cs index e2c77a8780..3da3f1efdf 100644 --- a/code/stable/glassbr/src/csharp/Interpolation.cs +++ b/code/stable/glassbr/src/csharp/Interpolation.cs @@ -3,6 +3,7 @@ \brief Provides functions for linear interpolation on three-dimensional data \note Generated by Drasil v0.1-alpha */ + using System; using System.Collections.Generic; using System.IO; diff --git a/code/stable/glassbr/src/csharp/OutputFormat.cs b/code/stable/glassbr/src/csharp/OutputFormat.cs index bb20b4151e..fc2308fd94 100644 --- a/code/stable/glassbr/src/csharp/OutputFormat.cs +++ b/code/stable/glassbr/src/csharp/OutputFormat.cs @@ -3,6 +3,7 @@ \brief Provides the function for writing outputs \note Generated by Drasil v0.1-alpha */ + using System; using System.IO; diff --git a/code/stable/glassbr/src/csharp/ReadTable.cs b/code/stable/glassbr/src/csharp/ReadTable.cs index dc664fa5d4..28f73691ff 100644 --- a/code/stable/glassbr/src/csharp/ReadTable.cs +++ b/code/stable/glassbr/src/csharp/ReadTable.cs @@ -3,6 +3,7 @@ \brief Provides a function for reading glass ASTM data \note Generated by Drasil v0.1-alpha */ + using System; using System.Collections.Generic; using System.IO; diff --git a/code/stable/glassbr/src/java/GlassBR/Calculations.java b/code/stable/glassbr/src/java/GlassBR/Calculations.java index 8fe7f6eaf4..7ecbbb4cba 100644 --- a/code/stable/glassbr/src/java/GlassBR/Calculations.java +++ b/code/stable/glassbr/src/java/GlassBR/Calculations.java @@ -5,6 +5,7 @@ \brief Provides functions for calculating the outputs \note Generated by Drasil v0.1-alpha */ + import java.io.File; import java.io.FileNotFoundException; import java.io.FileWriter; diff --git a/code/stable/glassbr/src/java/GlassBR/Control.java b/code/stable/glassbr/src/java/GlassBR/Control.java index 61221954f0..938217f3c7 100644 --- a/code/stable/glassbr/src/java/GlassBR/Control.java +++ b/code/stable/glassbr/src/java/GlassBR/Control.java @@ -5,6 +5,7 @@ \brief Controls the flow of the program \note Generated by Drasil v0.1-alpha */ + import java.io.File; import java.io.FileNotFoundException; import java.io.FileWriter; diff --git a/code/stable/glassbr/src/java/GlassBR/DerivedValues.java b/code/stable/glassbr/src/java/GlassBR/DerivedValues.java index af88f6fd60..c5e0eac248 100644 --- a/code/stable/glassbr/src/java/GlassBR/DerivedValues.java +++ b/code/stable/glassbr/src/java/GlassBR/DerivedValues.java @@ -5,6 +5,7 @@ \brief Provides the function for calculating derived values \note Generated by Drasil v0.1-alpha */ + import java.io.File; import java.io.FileWriter; import java.io.IOException; diff --git a/code/stable/glassbr/src/java/GlassBR/InputConstraints.java b/code/stable/glassbr/src/java/GlassBR/InputConstraints.java index 681c9da0bf..2ad3537e1b 100644 --- a/code/stable/glassbr/src/java/GlassBR/InputConstraints.java +++ b/code/stable/glassbr/src/java/GlassBR/InputConstraints.java @@ -5,6 +5,7 @@ \brief Provides the function for checking the physical constraints and software constraints on the input \note Generated by Drasil v0.1-alpha */ + import java.io.File; import java.io.FileWriter; import java.io.IOException; diff --git a/code/stable/glassbr/src/java/GlassBR/InputFormat.java b/code/stable/glassbr/src/java/GlassBR/InputFormat.java index 4cdebfea19..833d362f11 100644 --- a/code/stable/glassbr/src/java/GlassBR/InputFormat.java +++ b/code/stable/glassbr/src/java/GlassBR/InputFormat.java @@ -5,6 +5,7 @@ \brief Provides the function for reading inputs \note Generated by Drasil v0.1-alpha */ + import java.io.File; import java.io.FileNotFoundException; import java.io.FileWriter; diff --git a/code/stable/glassbr/src/java/GlassBR/InputParameters.java b/code/stable/glassbr/src/java/GlassBR/InputParameters.java index f3e3868dcb..88b2c05e87 100644 --- a/code/stable/glassbr/src/java/GlassBR/InputParameters.java +++ b/code/stable/glassbr/src/java/GlassBR/InputParameters.java @@ -5,6 +5,7 @@ \brief Provides the structure for holding input values \note Generated by Drasil v0.1-alpha */ + /** \brief Structure for holding the input values and derived values */ public class InputParameters { diff --git a/code/stable/glassbr/src/java/GlassBR/Interpolation.java b/code/stable/glassbr/src/java/GlassBR/Interpolation.java index 911c2ac626..fb59f5cc4c 100644 --- a/code/stable/glassbr/src/java/GlassBR/Interpolation.java +++ b/code/stable/glassbr/src/java/GlassBR/Interpolation.java @@ -5,6 +5,7 @@ \brief Provides functions for linear interpolation on three-dimensional data \note Generated by Drasil v0.1-alpha */ + import java.io.File; import java.io.FileNotFoundException; import java.io.FileWriter; diff --git a/code/stable/glassbr/src/java/GlassBR/OutputFormat.java b/code/stable/glassbr/src/java/GlassBR/OutputFormat.java index 41b7687dde..d3cd913ba8 100644 --- a/code/stable/glassbr/src/java/GlassBR/OutputFormat.java +++ b/code/stable/glassbr/src/java/GlassBR/OutputFormat.java @@ -5,6 +5,7 @@ \brief Provides the function for writing outputs \note Generated by Drasil v0.1-alpha */ + import java.io.File; import java.io.FileWriter; import java.io.IOException; diff --git a/code/stable/glassbr/src/java/GlassBR/ReadTable.java b/code/stable/glassbr/src/java/GlassBR/ReadTable.java index dd3117a689..1ca577a959 100644 --- a/code/stable/glassbr/src/java/GlassBR/ReadTable.java +++ b/code/stable/glassbr/src/java/GlassBR/ReadTable.java @@ -5,6 +5,7 @@ \brief Provides a function for reading glass ASTM data \note Generated by Drasil v0.1-alpha */ + import java.io.File; import java.io.FileNotFoundException; import java.io.FileWriter; diff --git a/code/stable/glassbr/src/python/Calculations.py b/code/stable/glassbr/src/python/Calculations.py index 2e32363559..81531c9f4a 100644 --- a/code/stable/glassbr/src/python/Calculations.py +++ b/code/stable/glassbr/src/python/Calculations.py @@ -2,6 +2,7 @@ # \author Nikitha Krithnan and W. Spencer Smith # \brief Provides functions for calculating the outputs # \note Generated by Drasil v0.1-alpha + import math import Interpolation diff --git a/code/stable/glassbr/src/python/Control.py b/code/stable/glassbr/src/python/Control.py index df45509847..cd8f295991 100644 --- a/code/stable/glassbr/src/python/Control.py +++ b/code/stable/glassbr/src/python/Control.py @@ -2,6 +2,7 @@ # \author Nikitha Krithnan and W. Spencer Smith # \brief Controls the flow of the program # \note Generated by Drasil v0.1-alpha + import sys import Calculations diff --git a/code/stable/glassbr/src/python/DerivedValues.py b/code/stable/glassbr/src/python/DerivedValues.py index 0229e5af17..3367815f04 100644 --- a/code/stable/glassbr/src/python/DerivedValues.py +++ b/code/stable/glassbr/src/python/DerivedValues.py @@ -2,6 +2,7 @@ # \author Nikitha Krithnan and W. Spencer Smith # \brief Provides the function for calculating derived values # \note Generated by Drasil v0.1-alpha + import math ## \brief Calculates values that can be immediately derived from the inputs diff --git a/code/stable/glassbr/src/python/InputConstraints.py b/code/stable/glassbr/src/python/InputConstraints.py index b40ed2a73d..9aa48bdeb0 100644 --- a/code/stable/glassbr/src/python/InputConstraints.py +++ b/code/stable/glassbr/src/python/InputConstraints.py @@ -2,6 +2,7 @@ # \author Nikitha Krithnan and W. Spencer Smith # \brief Provides the function for checking the physical constraints and software constraints on the input # \note Generated by Drasil v0.1-alpha + ## \brief Verifies that input values satisfy the physical constraints and software constraints # \param inParams structure holding the input values def input_constraints(inParams): diff --git a/code/stable/glassbr/src/python/InputFormat.py b/code/stable/glassbr/src/python/InputFormat.py index 620d919c91..a2066d2e9f 100644 --- a/code/stable/glassbr/src/python/InputFormat.py +++ b/code/stable/glassbr/src/python/InputFormat.py @@ -2,6 +2,7 @@ # \author Nikitha Krithnan and W. Spencer Smith # \brief Provides the function for reading inputs # \note Generated by Drasil v0.1-alpha + ## \brief Reads input from a file with the given file name # \param filename name of the input file # \param inParams structure holding the input values diff --git a/code/stable/glassbr/src/python/InputParameters.py b/code/stable/glassbr/src/python/InputParameters.py index bbf2f02555..984e200be2 100644 --- a/code/stable/glassbr/src/python/InputParameters.py +++ b/code/stable/glassbr/src/python/InputParameters.py @@ -2,6 +2,7 @@ # \author Nikitha Krithnan and W. Spencer Smith # \brief Provides the structure for holding input values # \note Generated by Drasil v0.1-alpha + ## \brief Structure for holding the input values and derived values class InputParameters: None diff --git a/code/stable/glassbr/src/python/Interpolation.py b/code/stable/glassbr/src/python/Interpolation.py index 459177a982..ea7dea16af 100644 --- a/code/stable/glassbr/src/python/Interpolation.py +++ b/code/stable/glassbr/src/python/Interpolation.py @@ -2,6 +2,7 @@ # \author Nikitha Krithnan and W. Spencer Smith # \brief Provides functions for linear interpolation on three-dimensional data # \note Generated by Drasil v0.1-alpha + import ReadTable ## \brief Performs linear interpolation diff --git a/code/stable/glassbr/src/python/OutputFormat.py b/code/stable/glassbr/src/python/OutputFormat.py index d0b3f2a180..9b8b42d071 100644 --- a/code/stable/glassbr/src/python/OutputFormat.py +++ b/code/stable/glassbr/src/python/OutputFormat.py @@ -2,6 +2,7 @@ # \author Nikitha Krithnan and W. Spencer Smith # \brief Provides the function for writing outputs # \note Generated by Drasil v0.1-alpha + ## \brief Writes the output values to output.txt # \param isSafePb probability of glass breakage safety requirement # \param isSafeLR 3 second load equivalent resistance safety requirement diff --git a/code/stable/glassbr/src/python/ReadTable.py b/code/stable/glassbr/src/python/ReadTable.py index 7ec6cfb5b0..4cd9b380e8 100644 --- a/code/stable/glassbr/src/python/ReadTable.py +++ b/code/stable/glassbr/src/python/ReadTable.py @@ -2,6 +2,7 @@ # \author Nikitha Krithnan and W. Spencer Smith # \brief Provides a function for reading glass ASTM data # \note Generated by Drasil v0.1-alpha + ## \brief Reads glass ASTM data from a file with the given file name # \param filename name of the input file # \param z_vector list of z values diff --git a/code/stable/glassbr/src/swift/Calculations.swift b/code/stable/glassbr/src/swift/Calculations.swift index d10f5c0fb6..a50894d5b3 100644 --- a/code/stable/glassbr/src/swift/Calculations.swift +++ b/code/stable/glassbr/src/swift/Calculations.swift @@ -3,6 +3,7 @@ - Authors: Nikitha Krithnan and W. Spencer Smith - Note: Generated by Drasil v0.1-alpha */ + import Foundation /** Calculates tolerable stress distribution factor diff --git a/code/stable/glassbr/src/swift/DerivedValues.swift b/code/stable/glassbr/src/swift/DerivedValues.swift index 33a84173a9..aa1943ce5c 100644 --- a/code/stable/glassbr/src/swift/DerivedValues.swift +++ b/code/stable/glassbr/src/swift/DerivedValues.swift @@ -3,6 +3,7 @@ - Authors: Nikitha Krithnan and W. Spencer Smith - Note: Generated by Drasil v0.1-alpha */ + import Foundation /** Calculates values that can be immediately derived from the inputs diff --git a/code/stable/glassbr/src/swift/InputConstraints.swift b/code/stable/glassbr/src/swift/InputConstraints.swift index 729a54bd7a..04b5a3d359 100644 --- a/code/stable/glassbr/src/swift/InputConstraints.swift +++ b/code/stable/glassbr/src/swift/InputConstraints.swift @@ -3,6 +3,7 @@ - Authors: Nikitha Krithnan and W. Spencer Smith - Note: Generated by Drasil v0.1-alpha */ + import Foundation /** Verifies that input values satisfy the physical constraints and software constraints diff --git a/code/stable/glassbr/src/swift/InputFormat.swift b/code/stable/glassbr/src/swift/InputFormat.swift index 469fc1e1ef..e1acb8a1fa 100644 --- a/code/stable/glassbr/src/swift/InputFormat.swift +++ b/code/stable/glassbr/src/swift/InputFormat.swift @@ -3,6 +3,7 @@ - Authors: Nikitha Krithnan and W. Spencer Smith - Note: Generated by Drasil v0.1-alpha */ + import Foundation /** Reads input from a file with the given file name diff --git a/code/stable/glassbr/src/swift/InputParameters.swift b/code/stable/glassbr/src/swift/InputParameters.swift index d2d9c65a83..1f98dea9d2 100644 --- a/code/stable/glassbr/src/swift/InputParameters.swift +++ b/code/stable/glassbr/src/swift/InputParameters.swift @@ -3,6 +3,7 @@ - Authors: Nikitha Krithnan and W. Spencer Smith - Note: Generated by Drasil v0.1-alpha */ + /** Structure for holding the input values and derived values */ class InputParameters { diff --git a/code/stable/glassbr/src/swift/Interpolation.swift b/code/stable/glassbr/src/swift/Interpolation.swift index 351b3bff27..f44ddc5c47 100644 --- a/code/stable/glassbr/src/swift/Interpolation.swift +++ b/code/stable/glassbr/src/swift/Interpolation.swift @@ -3,6 +3,7 @@ - Authors: Nikitha Krithnan and W. Spencer Smith - Note: Generated by Drasil v0.1-alpha */ + import Foundation /** Performs linear interpolation diff --git a/code/stable/glassbr/src/swift/OutputFormat.swift b/code/stable/glassbr/src/swift/OutputFormat.swift index 4ef09629cb..c42ec5e386 100644 --- a/code/stable/glassbr/src/swift/OutputFormat.swift +++ b/code/stable/glassbr/src/swift/OutputFormat.swift @@ -3,6 +3,7 @@ - Authors: Nikitha Krithnan and W. Spencer Smith - Note: Generated by Drasil v0.1-alpha */ + import Foundation /** Writes the output values to output.txt diff --git a/code/stable/glassbr/src/swift/ReadTable.swift b/code/stable/glassbr/src/swift/ReadTable.swift index e7a94f5c68..58bb734abe 100644 --- a/code/stable/glassbr/src/swift/ReadTable.swift +++ b/code/stable/glassbr/src/swift/ReadTable.swift @@ -3,6 +3,7 @@ - Authors: Nikitha Krithnan and W. Spencer Smith - Note: Generated by Drasil v0.1-alpha */ + import Foundation /** Reads glass ASTM data from a file with the given file name diff --git a/code/stable/glassbr/src/swift/main.swift b/code/stable/glassbr/src/swift/main.swift index 06de2fb6a9..d6c51d6e8d 100644 --- a/code/stable/glassbr/src/swift/main.swift +++ b/code/stable/glassbr/src/swift/main.swift @@ -3,6 +3,7 @@ - Authors: Nikitha Krithnan and W. Spencer Smith - Note: Generated by Drasil v0.1-alpha */ + import Foundation extension String: Error {} diff --git a/code/stable/pdcontroller/src/cpp/Calculations.hpp b/code/stable/pdcontroller/src/cpp/Calculations.hpp index b3bb92f48a..2f05dace88 100644 --- a/code/stable/pdcontroller/src/cpp/Calculations.hpp +++ b/code/stable/pdcontroller/src/cpp/Calculations.hpp @@ -3,6 +3,7 @@ \brief Provides functions for calculating the outputs \note Generated by Drasil v0.1-alpha */ + #ifndef Calculations_h #define Calculations_h diff --git a/code/stable/pdcontroller/src/cpp/Constants.hpp b/code/stable/pdcontroller/src/cpp/Constants.hpp index f3f400724b..beab746ed6 100644 --- a/code/stable/pdcontroller/src/cpp/Constants.hpp +++ b/code/stable/pdcontroller/src/cpp/Constants.hpp @@ -3,6 +3,7 @@ \brief Provides the structure for holding constant values \note Generated by Drasil v0.1-alpha */ + #ifndef Constants_h #define Constants_h diff --git a/code/stable/pdcontroller/src/cpp/Control.cpp b/code/stable/pdcontroller/src/cpp/Control.cpp index b7a98fb096..e87c1f281f 100644 --- a/code/stable/pdcontroller/src/cpp/Control.cpp +++ b/code/stable/pdcontroller/src/cpp/Control.cpp @@ -3,6 +3,7 @@ \brief Controls the flow of the program \note Generated by Drasil v0.1-alpha */ + #include #include diff --git a/code/stable/pdcontroller/src/cpp/InputParameters.hpp b/code/stable/pdcontroller/src/cpp/InputParameters.hpp index ee585e86b6..5160d12e61 100644 --- a/code/stable/pdcontroller/src/cpp/InputParameters.hpp +++ b/code/stable/pdcontroller/src/cpp/InputParameters.hpp @@ -3,6 +3,7 @@ \brief Provides the function for reading inputs and the function for checking the physical constraints on the input \note Generated by Drasil v0.1-alpha */ + #ifndef InputParameters_h #define InputParameters_h diff --git a/code/stable/pdcontroller/src/cpp/ODE.hpp b/code/stable/pdcontroller/src/cpp/ODE.hpp index 142e461106..8067baa110 100644 --- a/code/stable/pdcontroller/src/cpp/ODE.hpp +++ b/code/stable/pdcontroller/src/cpp/ODE.hpp @@ -3,6 +3,7 @@ \brief Class representing an ODE system \note Generated by Drasil v0.1-alpha */ + #ifndef ODE_h #define ODE_h diff --git a/code/stable/pdcontroller/src/cpp/OutputFormat.hpp b/code/stable/pdcontroller/src/cpp/OutputFormat.hpp index 309475a13b..2874650223 100644 --- a/code/stable/pdcontroller/src/cpp/OutputFormat.hpp +++ b/code/stable/pdcontroller/src/cpp/OutputFormat.hpp @@ -3,6 +3,7 @@ \brief Provides the function for writing outputs \note Generated by Drasil v0.1-alpha */ + #ifndef OutputFormat_h #define OutputFormat_h diff --git a/code/stable/pdcontroller/src/cpp/Populate.hpp b/code/stable/pdcontroller/src/cpp/Populate.hpp index 8156ec402b..3ae0bfe489 100644 --- a/code/stable/pdcontroller/src/cpp/Populate.hpp +++ b/code/stable/pdcontroller/src/cpp/Populate.hpp @@ -3,6 +3,7 @@ \brief Class for populating a list during an ODE solution process \note Generated by Drasil v0.1-alpha */ + #ifndef Populate_h #define Populate_h diff --git a/code/stable/pdcontroller/src/csharp/Calculations.cs b/code/stable/pdcontroller/src/csharp/Calculations.cs index 00e94e8ac7..6bec7aeb69 100644 --- a/code/stable/pdcontroller/src/csharp/Calculations.cs +++ b/code/stable/pdcontroller/src/csharp/Calculations.cs @@ -3,6 +3,7 @@ \brief Provides functions for calculating the outputs \note Generated by Drasil v0.1-alpha */ + using System; using System.Collections.Generic; using Microsoft.Research.Oslo; diff --git a/code/stable/pdcontroller/src/csharp/Constants.cs b/code/stable/pdcontroller/src/csharp/Constants.cs index 5e36433cc6..11fb71998f 100644 --- a/code/stable/pdcontroller/src/csharp/Constants.cs +++ b/code/stable/pdcontroller/src/csharp/Constants.cs @@ -3,6 +3,7 @@ \brief Provides the structure for holding constant values \note Generated by Drasil v0.1-alpha */ + /** \brief Structure for holding the constant values */ public class Constants { diff --git a/code/stable/pdcontroller/src/csharp/Control.cs b/code/stable/pdcontroller/src/csharp/Control.cs index 2db9105345..50b73b968d 100644 --- a/code/stable/pdcontroller/src/csharp/Control.cs +++ b/code/stable/pdcontroller/src/csharp/Control.cs @@ -3,6 +3,7 @@ \brief Controls the flow of the program \note Generated by Drasil v0.1-alpha */ + using System.Collections.Generic; public class Control { diff --git a/code/stable/pdcontroller/src/csharp/InputParameters.cs b/code/stable/pdcontroller/src/csharp/InputParameters.cs index 8966ad3c51..675c43e369 100644 --- a/code/stable/pdcontroller/src/csharp/InputParameters.cs +++ b/code/stable/pdcontroller/src/csharp/InputParameters.cs @@ -3,6 +3,7 @@ \brief Provides the function for reading inputs and the function for checking the physical constraints on the input \note Generated by Drasil v0.1-alpha */ + using System; using System.IO; diff --git a/code/stable/pdcontroller/src/csharp/OutputFormat.cs b/code/stable/pdcontroller/src/csharp/OutputFormat.cs index ae8f6f6a74..4d98b559e0 100644 --- a/code/stable/pdcontroller/src/csharp/OutputFormat.cs +++ b/code/stable/pdcontroller/src/csharp/OutputFormat.cs @@ -3,6 +3,7 @@ \brief Provides the function for writing outputs \note Generated by Drasil v0.1-alpha */ + using System; using System.Collections.Generic; using System.IO; diff --git a/code/stable/pdcontroller/src/java/PDController/Calculations.java b/code/stable/pdcontroller/src/java/PDController/Calculations.java index 0d1a3330d0..b1f758fbc6 100644 --- a/code/stable/pdcontroller/src/java/PDController/Calculations.java +++ b/code/stable/pdcontroller/src/java/PDController/Calculations.java @@ -5,6 +5,7 @@ \brief Provides functions for calculating the outputs \note Generated by Drasil v0.1-alpha */ + import java.util.ArrayList; import org.apache.commons.math3.ode.FirstOrderIntegrator; import org.apache.commons.math3.ode.nonstiff.DormandPrince54Integrator; diff --git a/code/stable/pdcontroller/src/java/PDController/Constants.java b/code/stable/pdcontroller/src/java/PDController/Constants.java index f4fd590851..4cc119b27f 100644 --- a/code/stable/pdcontroller/src/java/PDController/Constants.java +++ b/code/stable/pdcontroller/src/java/PDController/Constants.java @@ -5,6 +5,7 @@ \brief Provides the structure for holding constant values \note Generated by Drasil v0.1-alpha */ + /** \brief Structure for holding the constant values */ public class Constants { diff --git a/code/stable/pdcontroller/src/java/PDController/Control.java b/code/stable/pdcontroller/src/java/PDController/Control.java index 102b061df4..ccbd94c0dd 100644 --- a/code/stable/pdcontroller/src/java/PDController/Control.java +++ b/code/stable/pdcontroller/src/java/PDController/Control.java @@ -5,6 +5,7 @@ \brief Controls the flow of the program \note Generated by Drasil v0.1-alpha */ + import java.io.FileNotFoundException; import java.io.IOException; import java.util.ArrayList; diff --git a/code/stable/pdcontroller/src/java/PDController/InputParameters.java b/code/stable/pdcontroller/src/java/PDController/InputParameters.java index 5ab4427140..c8761d4dd3 100644 --- a/code/stable/pdcontroller/src/java/PDController/InputParameters.java +++ b/code/stable/pdcontroller/src/java/PDController/InputParameters.java @@ -5,6 +5,7 @@ \brief Provides the function for reading inputs and the function for checking the physical constraints on the input \note Generated by Drasil v0.1-alpha */ + import java.io.File; import java.io.FileNotFoundException; import java.util.Scanner; diff --git a/code/stable/pdcontroller/src/java/PDController/ODE.java b/code/stable/pdcontroller/src/java/PDController/ODE.java index 289e96bc0b..9a34e9dbc4 100644 --- a/code/stable/pdcontroller/src/java/PDController/ODE.java +++ b/code/stable/pdcontroller/src/java/PDController/ODE.java @@ -5,6 +5,7 @@ \brief Class representing an ODE system \note Generated by Drasil v0.1-alpha */ + import org.apache.commons.math3.ode.FirstOrderDifferentialEquations; /** \brief Class representing an ODE system diff --git a/code/stable/pdcontroller/src/java/PDController/ODEStepHandler.java b/code/stable/pdcontroller/src/java/PDController/ODEStepHandler.java index 04c44f119c..d13112f21d 100644 --- a/code/stable/pdcontroller/src/java/PDController/ODEStepHandler.java +++ b/code/stable/pdcontroller/src/java/PDController/ODEStepHandler.java @@ -5,6 +5,7 @@ \brief Class defining additional behaviour for each step of an ODE solution \note Generated by Drasil v0.1-alpha */ + import java.util.ArrayList; import java.util.Arrays; import org.apache.commons.math3.ode.sampling.StepHandler; diff --git a/code/stable/pdcontroller/src/java/PDController/OutputFormat.java b/code/stable/pdcontroller/src/java/PDController/OutputFormat.java index 53f580955b..5097c54f84 100644 --- a/code/stable/pdcontroller/src/java/PDController/OutputFormat.java +++ b/code/stable/pdcontroller/src/java/PDController/OutputFormat.java @@ -5,6 +5,7 @@ \brief Provides the function for writing outputs \note Generated by Drasil v0.1-alpha */ + import java.io.File; import java.io.FileWriter; import java.io.IOException; diff --git a/code/stable/pdcontroller/src/python/Calculations.py b/code/stable/pdcontroller/src/python/Calculations.py index 5def7bf208..a2330c676f 100644 --- a/code/stable/pdcontroller/src/python/Calculations.py +++ b/code/stable/pdcontroller/src/python/Calculations.py @@ -2,6 +2,7 @@ # \author Naveen Ganesh Muralidharan # \brief Provides functions for calculating the outputs # \note Generated by Drasil v0.1-alpha + import scipy.integrate import Constants diff --git a/code/stable/pdcontroller/src/python/Constants.py b/code/stable/pdcontroller/src/python/Constants.py index 5312872968..0dffb88d65 100644 --- a/code/stable/pdcontroller/src/python/Constants.py +++ b/code/stable/pdcontroller/src/python/Constants.py @@ -2,6 +2,7 @@ # \author Naveen Ganesh Muralidharan # \brief Provides the structure for holding constant values # \note Generated by Drasil v0.1-alpha + ## \brief Structure for holding the constant values class Constants: AbsTol = 1.0e-10 diff --git a/code/stable/pdcontroller/src/python/Control.py b/code/stable/pdcontroller/src/python/Control.py index ca5f9f4665..72f30f6925 100644 --- a/code/stable/pdcontroller/src/python/Control.py +++ b/code/stable/pdcontroller/src/python/Control.py @@ -2,6 +2,7 @@ # \author Naveen Ganesh Muralidharan # \brief Controls the flow of the program # \note Generated by Drasil v0.1-alpha + import sys import Calculations diff --git a/code/stable/pdcontroller/src/python/InputParameters.py b/code/stable/pdcontroller/src/python/InputParameters.py index 738e655286..4092ef3ed9 100644 --- a/code/stable/pdcontroller/src/python/InputParameters.py +++ b/code/stable/pdcontroller/src/python/InputParameters.py @@ -2,6 +2,7 @@ # \author Naveen Ganesh Muralidharan # \brief Provides the function for reading inputs and the function for checking the physical constraints on the input # \note Generated by Drasil v0.1-alpha + ## \brief Reads input from a file with the given file name # \param filename name of the input file # \return Set-Point: The desired value that the control system must reach. This also knows as the reference variable diff --git a/code/stable/pdcontroller/src/python/OutputFormat.py b/code/stable/pdcontroller/src/python/OutputFormat.py index 75bf2cedf7..d88272a301 100644 --- a/code/stable/pdcontroller/src/python/OutputFormat.py +++ b/code/stable/pdcontroller/src/python/OutputFormat.py @@ -2,6 +2,7 @@ # \author Naveen Ganesh Muralidharan # \brief Provides the function for writing outputs # \note Generated by Drasil v0.1-alpha + ## \brief Writes the output values to output.txt # \param y_t Process Variable: The output value from the power plant def write_output(y_t): diff --git a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/cpp/Calculations.hpp b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/cpp/Calculations.hpp index f05c3111d1..d239342404 100644 --- a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/cpp/Calculations.hpp +++ b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/cpp/Calculations.hpp @@ -3,6 +3,7 @@ \brief Provides functions for calculating the outputs \note Generated by Drasil v0.1-alpha */ + #ifndef Calculations_h #define Calculations_h diff --git a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/cpp/Control.cpp b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/cpp/Control.cpp index 88d0f53f78..60aff03d52 100644 --- a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/cpp/Control.cpp +++ b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/cpp/Control.cpp @@ -3,6 +3,7 @@ \brief Controls the flow of the program \note Generated by Drasil v0.1-alpha */ + #include #include "Calculations.hpp" diff --git a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/cpp/InputParameters.hpp b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/cpp/InputParameters.hpp index e46d02c5a5..93357ffbb0 100644 --- a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/cpp/InputParameters.hpp +++ b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/cpp/InputParameters.hpp @@ -3,6 +3,7 @@ \brief Provides the structure for holding input values, the function for reading inputs, and the function for checking the physical constraints on the input \note Generated by Drasil v0.1-alpha */ + #ifndef InputParameters_h #define InputParameters_h diff --git a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/cpp/OutputFormat.hpp b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/cpp/OutputFormat.hpp index db2d8479f7..e97dcaf49d 100644 --- a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/cpp/OutputFormat.hpp +++ b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/cpp/OutputFormat.hpp @@ -3,6 +3,7 @@ \brief Provides the function for writing outputs \note Generated by Drasil v0.1-alpha */ + #ifndef OutputFormat_h #define OutputFormat_h diff --git a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/csharp/Calculations.cs b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/csharp/Calculations.cs index d0b834ac18..724f7961fd 100644 --- a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/csharp/Calculations.cs +++ b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/csharp/Calculations.cs @@ -3,6 +3,7 @@ \brief Provides functions for calculating the outputs \note Generated by Drasil v0.1-alpha */ + using System; public class Calculations { diff --git a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/csharp/Control.cs b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/csharp/Control.cs index c36d30c666..500c86ba10 100644 --- a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/csharp/Control.cs +++ b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/csharp/Control.cs @@ -3,6 +3,7 @@ \brief Controls the flow of the program \note Generated by Drasil v0.1-alpha */ + public class Control { /** \brief Controls the flow of the program diff --git a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/csharp/InputParameters.cs b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/csharp/InputParameters.cs index 6c8b47d4e6..ba050eb107 100644 --- a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/csharp/InputParameters.cs +++ b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/csharp/InputParameters.cs @@ -3,6 +3,7 @@ \brief Provides the structure for holding input values, the function for reading inputs, and the function for checking the physical constraints on the input \note Generated by Drasil v0.1-alpha */ + using System; using System.IO; diff --git a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/csharp/OutputFormat.cs b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/csharp/OutputFormat.cs index b07ed641cc..15fd136e95 100644 --- a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/csharp/OutputFormat.cs +++ b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/csharp/OutputFormat.cs @@ -3,6 +3,7 @@ \brief Provides the function for writing outputs \note Generated by Drasil v0.1-alpha */ + using System; using System.IO; diff --git a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/java/Projectile/Calculations.java b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/java/Projectile/Calculations.java index 01fb388f4f..b4d9e7cd2b 100644 --- a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/java/Projectile/Calculations.java +++ b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/java/Projectile/Calculations.java @@ -5,6 +5,7 @@ \brief Provides functions for calculating the outputs \note Generated by Drasil v0.1-alpha */ + public class Calculations { /** \brief Calculates flight duration: the time when the projectile lands (s) diff --git a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/java/Projectile/Control.java b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/java/Projectile/Control.java index cff5a3fa8d..6fd2fc609b 100644 --- a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/java/Projectile/Control.java +++ b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/java/Projectile/Control.java @@ -5,6 +5,7 @@ \brief Controls the flow of the program \note Generated by Drasil v0.1-alpha */ + import java.io.FileNotFoundException; import java.io.IOException; diff --git a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/java/Projectile/InputParameters.java b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/java/Projectile/InputParameters.java index 6f6e8483a5..7103af85d8 100644 --- a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/java/Projectile/InputParameters.java +++ b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/java/Projectile/InputParameters.java @@ -5,6 +5,7 @@ \brief Provides the structure for holding input values, the function for reading inputs, and the function for checking the physical constraints on the input \note Generated by Drasil v0.1-alpha */ + import java.io.File; import java.io.FileNotFoundException; import java.util.Scanner; diff --git a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/java/Projectile/OutputFormat.java b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/java/Projectile/OutputFormat.java index 66f4302d3c..cf7159afc6 100644 --- a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/java/Projectile/OutputFormat.java +++ b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/java/Projectile/OutputFormat.java @@ -5,6 +5,7 @@ \brief Provides the function for writing outputs \note Generated by Drasil v0.1-alpha */ + import java.io.File; import java.io.FileWriter; import java.io.IOException; diff --git a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/python/Calculations.py b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/python/Calculations.py index 9f68c58714..31411356e3 100644 --- a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/python/Calculations.py +++ b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/python/Calculations.py @@ -2,6 +2,7 @@ # \author Samuel J. Crawford, Brooks MacLachlan, and W. Spencer Smith # \brief Provides functions for calculating the outputs # \note Generated by Drasil v0.1-alpha + import math ## \brief Calculates flight duration: the time when the projectile lands (s) diff --git a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/python/Control.py b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/python/Control.py index b837a10008..af07349cec 100644 --- a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/python/Control.py +++ b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/python/Control.py @@ -2,6 +2,7 @@ # \author Samuel J. Crawford, Brooks MacLachlan, and W. Spencer Smith # \brief Controls the flow of the program # \note Generated by Drasil v0.1-alpha + import sys import Calculations diff --git a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/python/InputParameters.py b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/python/InputParameters.py index 54230b9a99..7caace163c 100644 --- a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/python/InputParameters.py +++ b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/python/InputParameters.py @@ -2,6 +2,7 @@ # \author Samuel J. Crawford, Brooks MacLachlan, and W. Spencer Smith # \brief Provides the structure for holding input values, the function for reading inputs, and the function for checking the physical constraints on the input # \note Generated by Drasil v0.1-alpha + import math ## \brief Structure for holding the input values diff --git a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/python/OutputFormat.py b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/python/OutputFormat.py index defc877392..56c162f688 100644 --- a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/python/OutputFormat.py +++ b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/python/OutputFormat.py @@ -2,6 +2,7 @@ # \author Samuel J. Crawford, Brooks MacLachlan, and W. Spencer Smith # \brief Provides the function for writing outputs # \note Generated by Drasil v0.1-alpha + ## \brief Writes the output values to output.txt # \param s output message as a string # \param d_offset distance between the target position and the landing position: the offset between the target position and the landing position (m) diff --git a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/swift/Calculations.swift b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/swift/Calculations.swift index 7290472e8e..507b50fa8b 100644 --- a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/swift/Calculations.swift +++ b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/swift/Calculations.swift @@ -3,6 +3,7 @@ - Authors: Samuel J. Crawford, Brooks MacLachlan, and W. Spencer Smith - Note: Generated by Drasil v0.1-alpha */ + import Foundation /** Calculates flight duration: the time when the projectile lands (s) diff --git a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/swift/InputParameters.swift b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/swift/InputParameters.swift index b1bde97f2b..6cc9269a1c 100644 --- a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/swift/InputParameters.swift +++ b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/swift/InputParameters.swift @@ -3,6 +3,7 @@ - Authors: Samuel J. Crawford, Brooks MacLachlan, and W. Spencer Smith - Note: Generated by Drasil v0.1-alpha */ + import Foundation extension String: Error {} diff --git a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/swift/OutputFormat.swift b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/swift/OutputFormat.swift index e93630e38b..8fc52c5d1e 100644 --- a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/swift/OutputFormat.swift +++ b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/swift/OutputFormat.swift @@ -3,6 +3,7 @@ - Authors: Samuel J. Crawford, Brooks MacLachlan, and W. Spencer Smith - Note: Generated by Drasil v0.1-alpha */ + import Foundation /** Writes the output values to output.txt diff --git a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/swift/main.swift b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/swift/main.swift index 52be54d57f..fd57d107a9 100644 --- a/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/swift/main.swift +++ b/code/stable/projectile/projectile_c_p_nol_b_u_v_d/src/swift/main.swift @@ -3,6 +3,7 @@ - Authors: Samuel J. Crawford, Brooks MacLachlan, and W. Spencer Smith - Note: Generated by Drasil v0.1-alpha */ + var filename: String = CommandLine.arguments[0] var g: Double = 9.8 var epsilon: Double = 2.0e-2 diff --git a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/cpp/Calculations.hpp b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/cpp/Calculations.hpp index 6ad42828fd..e70503a155 100644 --- a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/cpp/Calculations.hpp +++ b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/cpp/Calculations.hpp @@ -3,6 +3,7 @@ \brief Provides functions for calculating the outputs \note Generated by Drasil v0.1-alpha */ + #ifndef Calculations_h #define Calculations_h diff --git a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/cpp/InputConstraints.hpp b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/cpp/InputConstraints.hpp index b87c03f5ef..2617afc0d9 100644 --- a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/cpp/InputConstraints.hpp +++ b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/cpp/InputConstraints.hpp @@ -3,6 +3,7 @@ \brief Provides the function for checking the physical constraints on the input \note Generated by Drasil v0.1-alpha */ + #ifndef InputConstraints_h #define InputConstraints_h diff --git a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/cpp/InputFormat.hpp b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/cpp/InputFormat.hpp index 361c5dd6fe..d1445d46d7 100644 --- a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/cpp/InputFormat.hpp +++ b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/cpp/InputFormat.hpp @@ -3,6 +3,7 @@ \brief Provides the function for reading inputs \note Generated by Drasil v0.1-alpha */ + #ifndef InputFormat_h #define InputFormat_h diff --git a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/cpp/OutputFormat.hpp b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/cpp/OutputFormat.hpp index 635d9bd252..2e9ad7a363 100644 --- a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/cpp/OutputFormat.hpp +++ b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/cpp/OutputFormat.hpp @@ -3,6 +3,7 @@ \brief Provides the function for writing outputs \note Generated by Drasil v0.1-alpha */ + #ifndef OutputFormat_h #define OutputFormat_h diff --git a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/csharp/Calculations.cs b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/csharp/Calculations.cs index f215130ae4..58d808e2d2 100644 --- a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/csharp/Calculations.cs +++ b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/csharp/Calculations.cs @@ -3,6 +3,7 @@ \brief Provides functions for calculating the outputs \note Generated by Drasil v0.1-alpha */ + using System; public class Calculations { diff --git a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/csharp/InputConstraints.cs b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/csharp/InputConstraints.cs index 0ba8932503..f33d72d71a 100644 --- a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/csharp/InputConstraints.cs +++ b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/csharp/InputConstraints.cs @@ -3,6 +3,7 @@ \brief Provides the function for checking the physical constraints on the input \note Generated by Drasil v0.1-alpha */ + using System; public class InputConstraints { diff --git a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/csharp/InputFormat.cs b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/csharp/InputFormat.cs index 9733c71ce8..eb7a337821 100644 --- a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/csharp/InputFormat.cs +++ b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/csharp/InputFormat.cs @@ -3,6 +3,7 @@ \brief Provides the function for reading inputs \note Generated by Drasil v0.1-alpha */ + using System; using System.IO; diff --git a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/csharp/OutputFormat.cs b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/csharp/OutputFormat.cs index b45a5cabd0..d21900b3cd 100644 --- a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/csharp/OutputFormat.cs +++ b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/csharp/OutputFormat.cs @@ -3,6 +3,7 @@ \brief Provides the function for writing outputs \note Generated by Drasil v0.1-alpha */ + using System; using System.IO; diff --git a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/java/Projectile/Calculations.java b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/java/Projectile/Calculations.java index ee61ab4d50..03227575de 100644 --- a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/java/Projectile/Calculations.java +++ b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/java/Projectile/Calculations.java @@ -5,6 +5,7 @@ \brief Provides functions for calculating the outputs \note Generated by Drasil v0.1-alpha */ + public class Calculations { /** \brief Calculates flight duration: the time when the projectile lands (s) diff --git a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/java/Projectile/InputConstraints.java b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/java/Projectile/InputConstraints.java index 30c777085d..31f2f7a2b7 100644 --- a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/java/Projectile/InputConstraints.java +++ b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/java/Projectile/InputConstraints.java @@ -5,6 +5,7 @@ \brief Provides the function for checking the physical constraints on the input \note Generated by Drasil v0.1-alpha */ + public class InputConstraints { /** \brief Verifies that input values satisfy the physical constraints diff --git a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/java/Projectile/InputFormat.java b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/java/Projectile/InputFormat.java index 9a0d25bd01..b142934230 100644 --- a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/java/Projectile/InputFormat.java +++ b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/java/Projectile/InputFormat.java @@ -5,6 +5,7 @@ \brief Provides the function for reading inputs \note Generated by Drasil v0.1-alpha */ + import java.io.File; import java.io.FileNotFoundException; import java.util.Scanner; diff --git a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/java/Projectile/OutputFormat.java b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/java/Projectile/OutputFormat.java index b58cf47876..e7bad3d69c 100644 --- a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/java/Projectile/OutputFormat.java +++ b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/java/Projectile/OutputFormat.java @@ -5,6 +5,7 @@ \brief Provides the function for writing outputs \note Generated by Drasil v0.1-alpha */ + import java.io.File; import java.io.FileWriter; import java.io.IOException; diff --git a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/python/Calculations.py b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/python/Calculations.py index b1c794c682..c7379f60a9 100644 --- a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/python/Calculations.py +++ b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/python/Calculations.py @@ -2,6 +2,7 @@ # \author Samuel J. Crawford, Brooks MacLachlan, and W. Spencer Smith # \brief Provides functions for calculating the outputs # \note Generated by Drasil v0.1-alpha + import math ## \brief Calculates flight duration: the time when the projectile lands (s) diff --git a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/python/InputConstraints.py b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/python/InputConstraints.py index a31fa25781..a7628b3304 100644 --- a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/python/InputConstraints.py +++ b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/python/InputConstraints.py @@ -2,6 +2,7 @@ # \author Samuel J. Crawford, Brooks MacLachlan, and W. Spencer Smith # \brief Provides the function for checking the physical constraints on the input # \note Generated by Drasil v0.1-alpha + import math ## \brief Verifies that input values satisfy the physical constraints diff --git a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/python/InputFormat.py b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/python/InputFormat.py index 4dbe37aaba..542ce9c3a8 100644 --- a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/python/InputFormat.py +++ b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/python/InputFormat.py @@ -2,6 +2,7 @@ # \author Samuel J. Crawford, Brooks MacLachlan, and W. Spencer Smith # \brief Provides the function for reading inputs # \note Generated by Drasil v0.1-alpha + ## \brief Reads input from a file with the given file name # \param filename name of the input file # \return launch speed: the initial speed of the projectile when launched (m/s) diff --git a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/python/OutputFormat.py b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/python/OutputFormat.py index defc877392..56c162f688 100644 --- a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/python/OutputFormat.py +++ b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/python/OutputFormat.py @@ -2,6 +2,7 @@ # \author Samuel J. Crawford, Brooks MacLachlan, and W. Spencer Smith # \brief Provides the function for writing outputs # \note Generated by Drasil v0.1-alpha + ## \brief Writes the output values to output.txt # \param s output message as a string # \param d_offset distance between the target position and the landing position: the offset between the target position and the landing position (m) diff --git a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/swift/Calculations.swift b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/swift/Calculations.swift index a9dcad260b..465ed62154 100644 --- a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/swift/Calculations.swift +++ b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/swift/Calculations.swift @@ -3,6 +3,7 @@ - Authors: Samuel J. Crawford, Brooks MacLachlan, and W. Spencer Smith - Note: Generated by Drasil v0.1-alpha */ + import Foundation /** Calculates flight duration: the time when the projectile lands (s) diff --git a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/swift/InputConstraints.swift b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/swift/InputConstraints.swift index 6ad32e83d6..0435ea7e32 100644 --- a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/swift/InputConstraints.swift +++ b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/swift/InputConstraints.swift @@ -3,6 +3,7 @@ - Authors: Samuel J. Crawford, Brooks MacLachlan, and W. Spencer Smith - Note: Generated by Drasil v0.1-alpha */ + /** Verifies that input values satisfy the physical constraints - Parameter v_launch: launch speed: the initial speed of the projectile when launched (m/s) - Parameter theta: launch angle: the angle between the launcher and a straight line from the launcher to the target (rad) diff --git a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/swift/InputFormat.swift b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/swift/InputFormat.swift index aa47168837..2332ed533e 100644 --- a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/swift/InputFormat.swift +++ b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/swift/InputFormat.swift @@ -3,6 +3,7 @@ - Authors: Samuel J. Crawford, Brooks MacLachlan, and W. Spencer Smith - Note: Generated by Drasil v0.1-alpha */ + import Foundation extension String: Error {} diff --git a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/swift/OutputFormat.swift b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/swift/OutputFormat.swift index f9f90f573c..16956ed02b 100644 --- a/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/swift/OutputFormat.swift +++ b/code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/swift/OutputFormat.swift @@ -3,6 +3,7 @@ - Authors: Samuel J. Crawford, Brooks MacLachlan, and W. Spencer Smith - Note: Generated by Drasil v0.1-alpha */ + import Foundation /** Writes the output values to output.txt diff --git a/code/stable/projectile/projectile_u_p_l_b_b_c_d/src/cpp/Projectile.cpp b/code/stable/projectile/projectile_u_p_l_b_b_c_d/src/cpp/Projectile.cpp index eabdce3331..ba0ee631dd 100644 --- a/code/stable/projectile/projectile_u_p_l_b_b_c_d/src/cpp/Projectile.cpp +++ b/code/stable/projectile/projectile_u_p_l_b_b_c_d/src/cpp/Projectile.cpp @@ -3,6 +3,7 @@ \brief A program to predict whether a launched projectile hits its target. \note Generated by Drasil v0.1-alpha */ + #include "Projectile.hpp" #define _USE_MATH_DEFINES diff --git a/code/stable/projectile/projectile_u_p_l_b_b_c_d/src/cpp/Projectile.hpp b/code/stable/projectile/projectile_u_p_l_b_b_c_d/src/cpp/Projectile.hpp index 94325adb00..37d0c6e072 100644 --- a/code/stable/projectile/projectile_u_p_l_b_b_c_d/src/cpp/Projectile.hpp +++ b/code/stable/projectile/projectile_u_p_l_b_b_c_d/src/cpp/Projectile.hpp @@ -3,6 +3,7 @@ \brief A program to predict whether a launched projectile hits its target. \note Generated by Drasil v0.1-alpha */ + #ifndef Projectile_h #define Projectile_h diff --git a/code/stable/projectile/projectile_u_p_l_b_b_c_d/src/csharp/Projectile.cs b/code/stable/projectile/projectile_u_p_l_b_b_c_d/src/csharp/Projectile.cs index 24decfd434..4a945b3e08 100644 --- a/code/stable/projectile/projectile_u_p_l_b_b_c_d/src/csharp/Projectile.cs +++ b/code/stable/projectile/projectile_u_p_l_b_b_c_d/src/csharp/Projectile.cs @@ -3,6 +3,7 @@ \brief A program to predict whether a launched projectile hits its target. \note Generated by Drasil v0.1-alpha */ + using System; using System.IO; diff --git a/code/stable/projectile/projectile_u_p_l_b_b_c_d/src/java/Projectile/Projectile.java b/code/stable/projectile/projectile_u_p_l_b_b_c_d/src/java/Projectile/Projectile.java index 07f749b693..d036d13734 100644 --- a/code/stable/projectile/projectile_u_p_l_b_b_c_d/src/java/Projectile/Projectile.java +++ b/code/stable/projectile/projectile_u_p_l_b_b_c_d/src/java/Projectile/Projectile.java @@ -5,6 +5,7 @@ \brief A program to predict whether a launched projectile hits its target. \note Generated by Drasil v0.1-alpha */ + import java.io.File; import java.io.FileNotFoundException; import java.io.FileWriter; diff --git a/code/stable/projectile/projectile_u_p_l_b_b_c_d/src/python/Projectile.py b/code/stable/projectile/projectile_u_p_l_b_b_c_d/src/python/Projectile.py index ae2a1db7da..049d529d87 100644 --- a/code/stable/projectile/projectile_u_p_l_b_b_c_d/src/python/Projectile.py +++ b/code/stable/projectile/projectile_u_p_l_b_b_c_d/src/python/Projectile.py @@ -2,6 +2,7 @@ # \author Samuel J. Crawford, Brooks MacLachlan, and W. Spencer Smith # \brief A program to predict whether a launched projectile hits its target. # \note Generated by Drasil v0.1-alpha + import math import sys diff --git a/code/stable/projectile/projectile_u_p_l_b_b_c_d/src/swift/main.swift b/code/stable/projectile/projectile_u_p_l_b_b_c_d/src/swift/main.swift index 77c9c4aaab..1f4e810d6b 100644 --- a/code/stable/projectile/projectile_u_p_l_b_b_c_d/src/swift/main.swift +++ b/code/stable/projectile/projectile_u_p_l_b_b_c_d/src/swift/main.swift @@ -3,6 +3,7 @@ - Authors: Samuel J. Crawford, Brooks MacLachlan, and W. Spencer Smith - Note: Generated by Drasil v0.1-alpha */ + import Foundation extension String: Error {} diff --git a/code/stable/projectile/projectile_u_p_l_b_wi_v_f/src/cpp/Projectile.cpp b/code/stable/projectile/projectile_u_p_l_b_wi_v_f/src/cpp/Projectile.cpp index 603532ae4a..698f0c5359 100644 --- a/code/stable/projectile/projectile_u_p_l_b_wi_v_f/src/cpp/Projectile.cpp +++ b/code/stable/projectile/projectile_u_p_l_b_wi_v_f/src/cpp/Projectile.cpp @@ -3,6 +3,7 @@ \brief A program to predict whether a launched projectile hits its target. \note Generated by Drasil v0.1-alpha */ + #include "Projectile.hpp" #define _USE_MATH_DEFINES diff --git a/code/stable/projectile/projectile_u_p_l_b_wi_v_f/src/cpp/Projectile.hpp b/code/stable/projectile/projectile_u_p_l_b_wi_v_f/src/cpp/Projectile.hpp index 3b72bbedb2..c53c949a4e 100644 --- a/code/stable/projectile/projectile_u_p_l_b_wi_v_f/src/cpp/Projectile.hpp +++ b/code/stable/projectile/projectile_u_p_l_b_wi_v_f/src/cpp/Projectile.hpp @@ -3,6 +3,7 @@ \brief A program to predict whether a launched projectile hits its target. \note Generated by Drasil v0.1-alpha */ + #ifndef Projectile_h #define Projectile_h diff --git a/code/stable/projectile/projectile_u_p_l_b_wi_v_f/src/csharp/Projectile.cs b/code/stable/projectile/projectile_u_p_l_b_wi_v_f/src/csharp/Projectile.cs index a6eaa76dd4..72327c84ab 100644 --- a/code/stable/projectile/projectile_u_p_l_b_wi_v_f/src/csharp/Projectile.cs +++ b/code/stable/projectile/projectile_u_p_l_b_wi_v_f/src/csharp/Projectile.cs @@ -3,6 +3,7 @@ \brief A program to predict whether a launched projectile hits its target. \note Generated by Drasil v0.1-alpha */ + using System; using System.IO; diff --git a/code/stable/projectile/projectile_u_p_l_b_wi_v_f/src/java/Projectile/Projectile.java b/code/stable/projectile/projectile_u_p_l_b_wi_v_f/src/java/Projectile/Projectile.java index 4eb0f092a9..f382a0163e 100644 --- a/code/stable/projectile/projectile_u_p_l_b_wi_v_f/src/java/Projectile/Projectile.java +++ b/code/stable/projectile/projectile_u_p_l_b_wi_v_f/src/java/Projectile/Projectile.java @@ -5,6 +5,7 @@ \brief A program to predict whether a launched projectile hits its target. \note Generated by Drasil v0.1-alpha */ + import java.io.File; import java.io.FileNotFoundException; import java.io.FileWriter; diff --git a/code/stable/projectile/projectile_u_p_l_b_wi_v_f/src/python/Projectile.py b/code/stable/projectile/projectile_u_p_l_b_wi_v_f/src/python/Projectile.py index 8b239facfd..8bf6a11170 100644 --- a/code/stable/projectile/projectile_u_p_l_b_wi_v_f/src/python/Projectile.py +++ b/code/stable/projectile/projectile_u_p_l_b_wi_v_f/src/python/Projectile.py @@ -2,6 +2,7 @@ # \author Samuel J. Crawford, Brooks MacLachlan, and W. Spencer Smith # \brief A program to predict whether a launched projectile hits its target. # \note Generated by Drasil v0.1-alpha + import math import sys diff --git a/code/stable/projectile/projectile_u_p_l_b_wi_v_f/src/swift/main.swift b/code/stable/projectile/projectile_u_p_l_b_wi_v_f/src/swift/main.swift index af9e6d0131..e2b27ad740 100644 --- a/code/stable/projectile/projectile_u_p_l_b_wi_v_f/src/swift/main.swift +++ b/code/stable/projectile/projectile_u_p_l_b_wi_v_f/src/swift/main.swift @@ -3,6 +3,7 @@ - Authors: Samuel J. Crawford, Brooks MacLachlan, and W. Spencer Smith - Note: Generated by Drasil v0.1-alpha */ + import Foundation extension String: Error {} diff --git a/code/stable/projectile/projectile_u_p_nol_u_wi_v_d/src/cpp/Projectile.cpp b/code/stable/projectile/projectile_u_p_nol_u_wi_v_d/src/cpp/Projectile.cpp index 7e1c83977a..a798a80f51 100644 --- a/code/stable/projectile/projectile_u_p_nol_u_wi_v_d/src/cpp/Projectile.cpp +++ b/code/stable/projectile/projectile_u_p_nol_u_wi_v_d/src/cpp/Projectile.cpp @@ -3,6 +3,7 @@ \brief A program to predict whether a launched projectile hits its target. \note Generated by Drasil v0.1-alpha */ + #include "Projectile.hpp" #define _USE_MATH_DEFINES diff --git a/code/stable/projectile/projectile_u_p_nol_u_wi_v_d/src/cpp/Projectile.hpp b/code/stable/projectile/projectile_u_p_nol_u_wi_v_d/src/cpp/Projectile.hpp index f2ce353e09..078c314214 100644 --- a/code/stable/projectile/projectile_u_p_nol_u_wi_v_d/src/cpp/Projectile.hpp +++ b/code/stable/projectile/projectile_u_p_nol_u_wi_v_d/src/cpp/Projectile.hpp @@ -3,6 +3,7 @@ \brief A program to predict whether a launched projectile hits its target. \note Generated by Drasil v0.1-alpha */ + #ifndef Projectile_h #define Projectile_h diff --git a/code/stable/projectile/projectile_u_p_nol_u_wi_v_d/src/csharp/Projectile.cs b/code/stable/projectile/projectile_u_p_nol_u_wi_v_d/src/csharp/Projectile.cs index c238afa8fe..7817bc7c7d 100644 --- a/code/stable/projectile/projectile_u_p_nol_u_wi_v_d/src/csharp/Projectile.cs +++ b/code/stable/projectile/projectile_u_p_nol_u_wi_v_d/src/csharp/Projectile.cs @@ -3,6 +3,7 @@ \brief A program to predict whether a launched projectile hits its target. \note Generated by Drasil v0.1-alpha */ + using System; using System.IO; diff --git a/code/stable/projectile/projectile_u_p_nol_u_wi_v_d/src/java/Projectile/Projectile.java b/code/stable/projectile/projectile_u_p_nol_u_wi_v_d/src/java/Projectile/Projectile.java index bd63f12ad3..c4c50411d3 100644 --- a/code/stable/projectile/projectile_u_p_nol_u_wi_v_d/src/java/Projectile/Projectile.java +++ b/code/stable/projectile/projectile_u_p_nol_u_wi_v_d/src/java/Projectile/Projectile.java @@ -5,6 +5,7 @@ \brief A program to predict whether a launched projectile hits its target. \note Generated by Drasil v0.1-alpha */ + import java.io.File; import java.io.FileNotFoundException; import java.io.FileWriter; diff --git a/code/stable/projectile/projectile_u_p_nol_u_wi_v_d/src/python/Projectile.py b/code/stable/projectile/projectile_u_p_nol_u_wi_v_d/src/python/Projectile.py index 9141977687..a12c6e9e81 100644 --- a/code/stable/projectile/projectile_u_p_nol_u_wi_v_d/src/python/Projectile.py +++ b/code/stable/projectile/projectile_u_p_nol_u_wi_v_d/src/python/Projectile.py @@ -2,6 +2,7 @@ # \author Samuel J. Crawford, Brooks MacLachlan, and W. Spencer Smith # \brief A program to predict whether a launched projectile hits its target. # \note Generated by Drasil v0.1-alpha + import math import sys diff --git a/code/stable/projectile/projectile_u_p_nol_u_wi_v_d/src/swift/main.swift b/code/stable/projectile/projectile_u_p_nol_u_wi_v_d/src/swift/main.swift index f02d87b433..f302fb8799 100644 --- a/code/stable/projectile/projectile_u_p_nol_u_wi_v_d/src/swift/main.swift +++ b/code/stable/projectile/projectile_u_p_nol_u_wi_v_d/src/swift/main.swift @@ -3,6 +3,7 @@ - Authors: Samuel J. Crawford, Brooks MacLachlan, and W. Spencer Smith - Note: Generated by Drasil v0.1-alpha */ + import Foundation extension String: Error {} diff --git a/code/stable/swhsnopcm/src/cpp/Calculations.hpp b/code/stable/swhsnopcm/src/cpp/Calculations.hpp index dbf19cddf6..1abad36cf4 100644 --- a/code/stable/swhsnopcm/src/cpp/Calculations.hpp +++ b/code/stable/swhsnopcm/src/cpp/Calculations.hpp @@ -3,6 +3,7 @@ \brief Provides functions for calculating the outputs \note Generated by Drasil v0.1-alpha */ + #ifndef Calculations_h #define Calculations_h diff --git a/code/stable/swhsnopcm/src/cpp/Constants.hpp b/code/stable/swhsnopcm/src/cpp/Constants.hpp index c607f62656..bea9f322ed 100644 --- a/code/stable/swhsnopcm/src/cpp/Constants.hpp +++ b/code/stable/swhsnopcm/src/cpp/Constants.hpp @@ -3,6 +3,7 @@ \brief Provides the structure for holding constant values \note Generated by Drasil v0.1-alpha */ + #ifndef Constants_h #define Constants_h diff --git a/code/stable/swhsnopcm/src/cpp/Control.cpp b/code/stable/swhsnopcm/src/cpp/Control.cpp index 5eae766074..2b83a7ab04 100644 --- a/code/stable/swhsnopcm/src/cpp/Control.cpp +++ b/code/stable/swhsnopcm/src/cpp/Control.cpp @@ -3,6 +3,7 @@ \brief Controls the flow of the program \note Generated by Drasil v0.1-alpha */ + #include #include diff --git a/code/stable/swhsnopcm/src/cpp/InputParameters.hpp b/code/stable/swhsnopcm/src/cpp/InputParameters.hpp index 4bda504575..37ab1c1253 100644 --- a/code/stable/swhsnopcm/src/cpp/InputParameters.hpp +++ b/code/stable/swhsnopcm/src/cpp/InputParameters.hpp @@ -3,6 +3,7 @@ \brief Provides the function for reading inputs, the function for calculating derived values, and the function for checking the physical constraints and software constraints on the input \note Generated by Drasil v0.1-alpha */ + #ifndef InputParameters_h #define InputParameters_h diff --git a/code/stable/swhsnopcm/src/cpp/ODE.hpp b/code/stable/swhsnopcm/src/cpp/ODE.hpp index b3a967d0a4..b0076236c1 100644 --- a/code/stable/swhsnopcm/src/cpp/ODE.hpp +++ b/code/stable/swhsnopcm/src/cpp/ODE.hpp @@ -3,6 +3,7 @@ \brief Class representing an ODE system \note Generated by Drasil v0.1-alpha */ + #ifndef ODE_h #define ODE_h diff --git a/code/stable/swhsnopcm/src/cpp/OutputFormat.hpp b/code/stable/swhsnopcm/src/cpp/OutputFormat.hpp index 4ee9300a52..081f4b615b 100644 --- a/code/stable/swhsnopcm/src/cpp/OutputFormat.hpp +++ b/code/stable/swhsnopcm/src/cpp/OutputFormat.hpp @@ -3,6 +3,7 @@ \brief Provides the function for writing outputs \note Generated by Drasil v0.1-alpha */ + #ifndef OutputFormat_h #define OutputFormat_h diff --git a/code/stable/swhsnopcm/src/cpp/Populate.hpp b/code/stable/swhsnopcm/src/cpp/Populate.hpp index 7927412804..b4a931142f 100644 --- a/code/stable/swhsnopcm/src/cpp/Populate.hpp +++ b/code/stable/swhsnopcm/src/cpp/Populate.hpp @@ -3,6 +3,7 @@ \brief Class for populating a list during an ODE solution process \note Generated by Drasil v0.1-alpha */ + #ifndef Populate_h #define Populate_h diff --git a/code/stable/swhsnopcm/src/csharp/Calculations.cs b/code/stable/swhsnopcm/src/csharp/Calculations.cs index 397b6e6c4d..ca20ac8d18 100644 --- a/code/stable/swhsnopcm/src/csharp/Calculations.cs +++ b/code/stable/swhsnopcm/src/csharp/Calculations.cs @@ -3,6 +3,7 @@ \brief Provides functions for calculating the outputs \note Generated by Drasil v0.1-alpha */ + using System; using System.Collections.Generic; using Microsoft.Research.Oslo; diff --git a/code/stable/swhsnopcm/src/csharp/Constants.cs b/code/stable/swhsnopcm/src/csharp/Constants.cs index 7dd49e1e8e..07b518b732 100644 --- a/code/stable/swhsnopcm/src/csharp/Constants.cs +++ b/code/stable/swhsnopcm/src/csharp/Constants.cs @@ -3,6 +3,7 @@ \brief Provides the structure for holding constant values \note Generated by Drasil v0.1-alpha */ + /** \brief Structure for holding the constant values */ public class Constants { diff --git a/code/stable/swhsnopcm/src/csharp/Control.cs b/code/stable/swhsnopcm/src/csharp/Control.cs index b22ad9cf21..9249a7e887 100644 --- a/code/stable/swhsnopcm/src/csharp/Control.cs +++ b/code/stable/swhsnopcm/src/csharp/Control.cs @@ -3,6 +3,7 @@ \brief Controls the flow of the program \note Generated by Drasil v0.1-alpha */ + using System.Collections.Generic; public class Control { diff --git a/code/stable/swhsnopcm/src/csharp/InputParameters.cs b/code/stable/swhsnopcm/src/csharp/InputParameters.cs index 86a22eeff8..89a71bf3bc 100644 --- a/code/stable/swhsnopcm/src/csharp/InputParameters.cs +++ b/code/stable/swhsnopcm/src/csharp/InputParameters.cs @@ -3,6 +3,7 @@ \brief Provides the function for reading inputs, the function for calculating derived values, and the function for checking the physical constraints and software constraints on the input \note Generated by Drasil v0.1-alpha */ + using System; using System.IO; diff --git a/code/stable/swhsnopcm/src/csharp/OutputFormat.cs b/code/stable/swhsnopcm/src/csharp/OutputFormat.cs index 9420adfa8a..ae4406c955 100644 --- a/code/stable/swhsnopcm/src/csharp/OutputFormat.cs +++ b/code/stable/swhsnopcm/src/csharp/OutputFormat.cs @@ -3,6 +3,7 @@ \brief Provides the function for writing outputs \note Generated by Drasil v0.1-alpha */ + using System; using System.Collections.Generic; using System.IO; diff --git a/code/stable/swhsnopcm/src/java/SWHSNoPCM/Calculations.java b/code/stable/swhsnopcm/src/java/SWHSNoPCM/Calculations.java index af66faa491..403f56517b 100644 --- a/code/stable/swhsnopcm/src/java/SWHSNoPCM/Calculations.java +++ b/code/stable/swhsnopcm/src/java/SWHSNoPCM/Calculations.java @@ -5,6 +5,7 @@ \brief Provides functions for calculating the outputs \note Generated by Drasil v0.1-alpha */ + import java.util.ArrayList; import org.apache.commons.math3.ode.FirstOrderIntegrator; import org.apache.commons.math3.ode.nonstiff.DormandPrince54Integrator; diff --git a/code/stable/swhsnopcm/src/java/SWHSNoPCM/Constants.java b/code/stable/swhsnopcm/src/java/SWHSNoPCM/Constants.java index 9a57e0762b..b0ab975140 100644 --- a/code/stable/swhsnopcm/src/java/SWHSNoPCM/Constants.java +++ b/code/stable/swhsnopcm/src/java/SWHSNoPCM/Constants.java @@ -5,6 +5,7 @@ \brief Provides the structure for holding constant values \note Generated by Drasil v0.1-alpha */ + /** \brief Structure for holding the constant values */ public class Constants { diff --git a/code/stable/swhsnopcm/src/java/SWHSNoPCM/Control.java b/code/stable/swhsnopcm/src/java/SWHSNoPCM/Control.java index 970e109d52..b7629744ef 100644 --- a/code/stable/swhsnopcm/src/java/SWHSNoPCM/Control.java +++ b/code/stable/swhsnopcm/src/java/SWHSNoPCM/Control.java @@ -5,6 +5,7 @@ \brief Controls the flow of the program \note Generated by Drasil v0.1-alpha */ + import java.io.FileNotFoundException; import java.io.IOException; import java.util.ArrayList; diff --git a/code/stable/swhsnopcm/src/java/SWHSNoPCM/InputParameters.java b/code/stable/swhsnopcm/src/java/SWHSNoPCM/InputParameters.java index 6d5cad2b8b..6ae023cd14 100644 --- a/code/stable/swhsnopcm/src/java/SWHSNoPCM/InputParameters.java +++ b/code/stable/swhsnopcm/src/java/SWHSNoPCM/InputParameters.java @@ -5,6 +5,7 @@ \brief Provides the function for reading inputs, the function for calculating derived values, and the function for checking the physical constraints and software constraints on the input \note Generated by Drasil v0.1-alpha */ + import java.io.File; import java.io.FileNotFoundException; import java.util.Scanner; diff --git a/code/stable/swhsnopcm/src/java/SWHSNoPCM/ODE.java b/code/stable/swhsnopcm/src/java/SWHSNoPCM/ODE.java index 96a115ca5c..a568e61614 100644 --- a/code/stable/swhsnopcm/src/java/SWHSNoPCM/ODE.java +++ b/code/stable/swhsnopcm/src/java/SWHSNoPCM/ODE.java @@ -5,6 +5,7 @@ \brief Class representing an ODE system \note Generated by Drasil v0.1-alpha */ + import org.apache.commons.math3.ode.FirstOrderDifferentialEquations; /** \brief Class representing an ODE system diff --git a/code/stable/swhsnopcm/src/java/SWHSNoPCM/ODEStepHandler.java b/code/stable/swhsnopcm/src/java/SWHSNoPCM/ODEStepHandler.java index 54f9a5629d..f9c002bbd8 100644 --- a/code/stable/swhsnopcm/src/java/SWHSNoPCM/ODEStepHandler.java +++ b/code/stable/swhsnopcm/src/java/SWHSNoPCM/ODEStepHandler.java @@ -5,6 +5,7 @@ \brief Class defining additional behaviour for each step of an ODE solution \note Generated by Drasil v0.1-alpha */ + import java.util.ArrayList; import java.util.Arrays; import org.apache.commons.math3.ode.sampling.StepHandler; diff --git a/code/stable/swhsnopcm/src/java/SWHSNoPCM/OutputFormat.java b/code/stable/swhsnopcm/src/java/SWHSNoPCM/OutputFormat.java index f828531814..a75e05c421 100644 --- a/code/stable/swhsnopcm/src/java/SWHSNoPCM/OutputFormat.java +++ b/code/stable/swhsnopcm/src/java/SWHSNoPCM/OutputFormat.java @@ -5,6 +5,7 @@ \brief Provides the function for writing outputs \note Generated by Drasil v0.1-alpha */ + import java.io.File; import java.io.FileWriter; import java.io.IOException; diff --git a/code/stable/swhsnopcm/src/python/Calculations.py b/code/stable/swhsnopcm/src/python/Calculations.py index a10854daff..a05c846e4a 100644 --- a/code/stable/swhsnopcm/src/python/Calculations.py +++ b/code/stable/swhsnopcm/src/python/Calculations.py @@ -2,6 +2,7 @@ # \author Thulasi Jegatheesan # \brief Provides functions for calculating the outputs # \note Generated by Drasil v0.1-alpha + import scipy.integrate ## \brief Calculates volume of water: the amount of space occupied by a given quantity of water (m^3) diff --git a/code/stable/swhsnopcm/src/python/Constants.py b/code/stable/swhsnopcm/src/python/Constants.py index cc55306390..8b14813e9e 100644 --- a/code/stable/swhsnopcm/src/python/Constants.py +++ b/code/stable/swhsnopcm/src/python/Constants.py @@ -2,6 +2,7 @@ # \author Thulasi Jegatheesan # \brief Provides the structure for holding constant values # \note Generated by Drasil v0.1-alpha + ## \brief Structure for holding the constant values class Constants: pi = 3.14159265 diff --git a/code/stable/swhsnopcm/src/python/Control.py b/code/stable/swhsnopcm/src/python/Control.py index 5398b193f5..6605bf2871 100644 --- a/code/stable/swhsnopcm/src/python/Control.py +++ b/code/stable/swhsnopcm/src/python/Control.py @@ -2,6 +2,7 @@ # \author Thulasi Jegatheesan # \brief Controls the flow of the program # \note Generated by Drasil v0.1-alpha + import sys import Calculations diff --git a/code/stable/swhsnopcm/src/python/InputParameters.py b/code/stable/swhsnopcm/src/python/InputParameters.py index d2972d9068..d2fbef1477 100644 --- a/code/stable/swhsnopcm/src/python/InputParameters.py +++ b/code/stable/swhsnopcm/src/python/InputParameters.py @@ -2,6 +2,7 @@ # \author Thulasi Jegatheesan # \brief Provides the function for reading inputs, the function for calculating derived values, and the function for checking the physical constraints and software constraints on the input # \note Generated by Drasil v0.1-alpha + import Constants ## \brief Reads input from a file with the given file name diff --git a/code/stable/swhsnopcm/src/python/OutputFormat.py b/code/stable/swhsnopcm/src/python/OutputFormat.py index a46e1f9593..11b5587e77 100644 --- a/code/stable/swhsnopcm/src/python/OutputFormat.py +++ b/code/stable/swhsnopcm/src/python/OutputFormat.py @@ -2,6 +2,7 @@ # \author Thulasi Jegatheesan # \brief Provides the function for writing outputs # \note Generated by Drasil v0.1-alpha + ## \brief Writes the output values to output.txt # \param E_W change in heat energy in the water: change in thermal energy within the water (J) # \param T_W temperature of the water: the average kinetic energy of the particles within the water (degreeC)