Provide CoreData with a constructor.#6924
Conversation
|
Turns out that initializing things with invalid values shows that we're using uninitialized values: I'll have to look at that tomorrow. Too bad we didn't catch this years ago :-[ |
|
@gassmoeller I think I need help here -- thank you for offering earlier today. Here's the backtrace for the So we run into a floating point exception in |
|
No problem. Here is the full backtrace: The offending variable is I dont know why both plugins store a member variable of the same structure. I could guess that it had to do with serialization, i.e. because in the past postprocessors were serialized, but boundary temperature plugins were not, the variable in the postprocessor was used to serialize the structure. (this may be related to #6787, but I wasnt aware of the workaround in this plugin before). |
|
OK, I can trigger floating point exceptions again after fixing the issue in deal.II. I looked into it and you're exactly right. Of course, the issue is: This was wrong before as well, and we used an uninitialized variable. It's just that nobody noticed. How do we proceed with this? I could of course just move the statement that initialized @SiqiZhang Do you remember? Would you be able to help? |
This addresses part of the discussion in #6918.
@Francyrad FYI