diff --git a/Lectures/L03_Requirements/Requirements.tex b/Lectures/L03_Requirements/Requirements.tex index 7a56995dcc07f101c371bdb13fc7d1f20e262d0e..ec5ce4779e3270a73ab05c70c48379d14fbed2d5 100755 --- a/Lectures/L03_Requirements/Requirements.tex +++ b/Lectures/L03_Requirements/Requirements.tex @@ -28,7 +28,8 @@ \useoutertheme{split} %so the footline can be seen, without needing pgfpages -%\pgfpagesuselayout{resize to}[letterpaper,border shrink=5mm,landscape] %if this is uncommented, the hyperref links do not work +%\pgfpagesuselayout{resize to}[letterpaper,border shrink=5mm,landscape] %if +%this is uncommented, the hyperref links do not work \mode<presentation>{} diff --git a/Lectures/L04_ReqContinued/ReqContinued.pdf b/Lectures/L04_ReqContinued/ReqContinued.pdf index a9fc9199ed14c74a1da5bbeae3f0787ebf776042..3af1ae46c45bd5f6986cc1c53cfe170d2b7a19b4 100644 Binary files a/Lectures/L04_ReqContinued/ReqContinued.pdf and b/Lectures/L04_ReqContinued/ReqContinued.pdf differ diff --git a/Lectures/L04_ReqContinued/ReqContinued.tex b/Lectures/L04_ReqContinued/ReqContinued.tex index 417d0514fe7a5cb2f88a750390e30270206fe746..c5ba194cfd86f09645e9ae99091959ed729b5c56 100755 --- a/Lectures/L04_ReqContinued/ReqContinued.tex +++ b/Lectures/L04_ReqContinued/ReqContinued.tex @@ -52,7 +52,8 @@ \item Questions? %\item Wrap up software qualities topic %\item Commonality Analysis versus Software Requirements Spec -\item Some advice +\item Finish example goal statements +\item Some advice on developing your SRS \item Requirements documentation for scientific computing \item A new requirements template \item Advantages of new template and examples @@ -74,11 +75,11 @@ \item Name your repo something other than \texttt{cas741} \item Assign me an issue to review your problem statements \bi -\item Clearly state that you would like me to review your problem statement +\item State that you would like a review \item Include a link to your problem statement \ei \item Do not put generated files under version control -\item Create a \texttt{.gitignore} file +\item Understand your \texttt{.gitignore} file \item Keep your tex files to 80 character width (easier for change tracking) \ei @@ -109,12 +110,26 @@ \item Modify \texttt{Repos.csv}, \texttt{git add}, \texttt{git commit} \item Check your diff \item Merge request + \item Note: do a fresh pull first, monitor other \href{https://gitlab.cas.mcmaster.ca/smiths/cas741/-/merge_requests} {merge requests} +\end{itemize} +\end{itemize} + +\end{frame} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\begin{frame} +\frametitle{Questions? Continued} +\begin{itemize} +\item Does anyone need help with \LaTeX{}? +\begin{itemize} + \item Suggest using VSCode with LTeX \end{itemize} \item Questions about project choices? \item Questions about software tools? \item Questions about problem statements? -%\item Questions about software qualities? \end{itemize} + \end{frame} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -175,6 +190,81 @@ % \end{frame} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\begin{frame} +\frametitle{Goal Statements for GlassBR} + +For +\href{https://jacquescarette.github.io/Drasil/examples/glassbr/SRS/srs/GlassBR_SRS.html} +{GlassBR}: + +~\\ + +Given the dimensions of the glass plane, glass type, the characteristics of the +explosion, and the tolerable probability of breakage, the goal statements are: +\begin{itemize} +\item[GS1:] Analyze and predict whether the glass slab under consideration will + be able to withstand the explosion of a certain degree which is calculated + based on user input. +\end{itemize} + +\end{frame} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\begin{frame}[plain] +\frametitle{Goal Statements for Game Physics} + +\noindent For +\href{https://jacquescarette.github.io/Drasil/examples/gamephysics/SRS/srs/GamePhysics_SRS.html} +{Game Physics}: + +\begin{itemize} + +\item[G\_linear:] Given the physical properties, initial positions and + velocities, and forces applied on a set of rigid bodies, determine their new + positions and velocities over a period of time (IM-IM\_FT). + +\item[G\_ang:] Given the physical properties, initial orientations and + angular velocities, and forces applied on a set of rigid bodies, determine + their new orientations and angular velocities over a period of + time. (IM-IM\_FR). + +\item[G\_dtcCol:] Given the initial positions and velocities of a set + of rigid bodies, determine if any of them will collide with one another over a + period of time. + +\item[G\_Col:] Given the physical properties, initial linear and angular + positions and velocities, determine the new positions and velocities over a + period of time of rigid bodies that have undergone a collision (IM-IM\_C). + +\end{itemize} + +\end{frame} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\begin{frame} +\frametitle{Goal Statements for Linear Solver} + +\structure{What would be a good goal statement for a library of linear solvers?} + +\end{frame} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\begin{frame} +\frametitle{Goal Statements for Linear Solver} + +\begin{itemize} + +\item[G1] Given a system of $n$ linear equations represented by matrix $A$ and + column vector $b$, return $x$ such that $Ax = b$, if possible + +\end{itemize} + +\end{frame} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{frame} \frametitle{Major Conceptual Parts of SRS/CA} @@ -391,10 +481,10 @@ Also Goal Statements and Requirements {GlassBR Example} \item \href{https://jacquescarette.github.io/Drasil/examples/swhsnopcm/SRS/HTML/SWHSNoPCM_SRS.html} - {SWHS Example} + {SWHS Example} (Let's go through this one) \item \href{https://github.com/smiths/capTemplate/blob/main/docs/SRS/SRS.pdf} - {Blank SRS from Template} + {Blank SRS from Template} (Let's look at the advice/hints) \item \href{https://github.com/smiths/capTemplate/blob/main/docs/Checklists/SRS-Checklist.pdf} {Checklist} \end{itemize}