# | Line 1 | Line 1 | |
---|---|---|
1 | #include <iostream> | |
2 | ||
3 | < | #include <cstdlib> |
4 | < | #include <cstdio> |
3 | > | #include <stdlib.h> |
4 | > | #include <stdio.h> |
5 | ||
6 | #include "simError.h" | |
7 | #include "SimState.hpp" | |
# | Line 107 | Line 107 | void SimState::destroyArrays( void ){ | |
107 | mu = NULL; | |
108 | ul = NULL; | |
109 | ||
110 | + | |
111 | arraysAllocated = false; | |
112 | nElements = 0; | |
113 | } | |
# | Line 118 | Line 119 | void SimState::getAtomPointers( int index, | |
119 | double** the_trq, | |
120 | double** the_Amat, | |
121 | double** the_mu, | |
122 | < | double** the_ul ){ |
122 | > | double** the_ul){ |
123 | int index3, index9; | |
124 | ||
125 | if( arraysAllocated ){ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |