Closed mrp089 closed 3 years ago
Turns out there is a vector K
that is initialized with length 1000
for good measure:
A function SaveK
stores new values in K
:
This function is then used in N_MinorLoss
and assigns values to K
at the current time step:
So if the time step exceeds the length of K
(i.e. 1000
) -> Trouble!
There is only one other place where K
is used (within post-processing):
https://github.com/SimVascular/svOneDSolver/blob/0f63379bf5207ab56dadebc4acc72b9803e07d61/Code/Source/cvOneDBFSolver.cxx#L218-L219
However, val
is not used. So... I'll just delete any occurrence of K
.
What the user sees:
NaN
What happens in svOneDSolver for elements with
NaN
residual:DxShape
(spatial derivative of shape function) turns +/-inf
h
turns zeroThis is strange for several reasons: