------------------------------------------------------------------------------
| 64 | |
| 65 | //------------------------------------------------------------------------------ |
| 66 | void vtkInitialValueProblemSolver::Initialize() |
| 67 | { |
| 68 | if (!this->FunctionSet) |
| 69 | { |
| 70 | return; |
| 71 | } |
| 72 | delete[] this->Vals; |
| 73 | this->Vals = new double[this->FunctionSet->GetNumberOfIndependentVariables()]; |
| 74 | delete[] this->Derivs; |
| 75 | this->Derivs = new double[this->FunctionSet->GetNumberOfFunctions()]; |
| 76 | this->Initialized = 1; |
| 77 | } |
| 78 | VTK_ABI_NAMESPACE_END |