Corey McNeish
Corey McNeish
**Is your feature request related to a problem? Please describe.** Current master doesn't ship with executables for Mac, but instructions to create them don't seem to be present. **Describe the...
LS and J are leaked upon successive calls to kinsolInterface::initialize. Additionally, KINInit leaks if called more than once for a given solverMem. KINInit should be only called when `!flags[initialized_flag]`, and...
All of the calls to `factory->prepObjects` ([here](https://github.com/LLNL/GridDyn/blob/cf850abcc921f9f1bfea917ffc03a966d64c0a6a/src/fileInput/gridReadMatPower.cpp#L104) for example) result in memory leaks. I'm not sure why that happens. Deleting these calls probably degrades performance across successive deconstructions and constructions,...
In griddyn/solvers/sundialsInterface.cpp, sundialsJac is allowed to be passed a null dstate_dt. It acknowledges this [here](https://github.com/LLNL/GridDyn/blob/cf850abcc921f9f1bfea917ffc03a966d64c0a6a/src/griddyn/solvers/sundialsInterface.cpp#L417) and [here](https://github.com/LLNL/GridDyn/blob/cf850abcc921f9f1bfea917ffc03a966d64c0a6a/src/griddyn/solvers/sundialsInterface.cpp#L427). However, https://github.com/LLNL/GridDyn/blob/cf850abcc921f9f1bfea917ffc03a966d64c0a6a/src/griddyn/solvers/sundialsInterface.cpp#L462 and https://github.com/LLNL/GridDyn/blob/cf850abcc921f9f1bfea917ffc03a966d64c0a6a/src/griddyn/solvers/sundialsInterface.cpp#L471 do not check for this, and can segfault. These...
https://github.com/LLNL/GridDyn/blob/cf850abcc921f9f1bfea917ffc03a966d64c0a6a/src/griddyn/links/hvdc.cpp#L38 A `dcLink` can not be set to be a slack bus, so that statement throws unconditionally. This additionally leaks `dcl`. This was added in 573966f8c96ac8f15bb9ffd0f82b62c6e4d830f3, so I don't know...