


obtain an empty solver state with appropriate filling This function is created to ensure an equal structure setup. this stucture is once created in THIS IS NO USER FUNCTION


0001 function solverState = obtainCleanSolverState 0002 % obtain an empty solver state with appropriate filling 0003 % 0004 % This function is created to ensure an equal structure setup. this 0005 % stucture is once created in 0006 % 0007 % THIS IS NO USER FUNCTION 0008 0009 % The elk-library: convex geometry applied to crystallization modeling. 0010 % Copyright (C) 2013 Alexander Reinhold 0011 % 0012 % This program is free software: you can redistribute it and/or modify it 0013 % under the terms of the GNU General Public License as published by the 0014 % Free Software Foundation, either version 3 of the License, or (at your 0015 % option) any later version. 0016 % 0017 % This program is distributed in the hope that it will be useful, but 0018 % WITHOUT ANY WARRANTY; without even the implied warranty of 0019 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0020 % General Public License for more details. 0021 % 0022 % You should have received a copy of the GNU General Public License along 0023 % with this program. If not, see <http://www.gnu.org/licenses/>. 0024 0025 % time 0026 solverState.time = nan; 0027 solverState.evalTime = nan; 0028 % state variables 0029 solverState.bulkStateVector = []; 0030 solverState.hcMatrix = []; 0031 solverState.numberVector = []; 0032 solverState.probabilityVector = []; 0033 % help variables 0034 solverState.indexVector = []; 0035 solverState.upVector = []; 0036 solverState.dissolvedPivotVector = []; 0037 % property information 0038 solverState.pivotPropertyMatrix = []; 0039 solverState.bulkPropertyVector = []; 0040 % option/structure information 0041 solverState.flagNucleation = nan; 0042 solverState.flagDensity = nan;