genericDerivativeStateVector

PURPOSE ^

compute derivative of states

SYNOPSIS ^

function stateDerivative = genericDerivativeStateVector(state, time,pbeDefinition, solverStateOriginal)

DESCRIPTION ^

 compute derivative of states

 THIS IS NO USER FUCNTION

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function stateDerivative = genericDerivativeStateVector(state, time, ...
0002     pbeDefinition, solverStateOriginal)
0003 % compute derivative of states
0004 %
0005 % THIS IS NO USER FUCNTION
0006 
0007 % The elk-library: convex geometry applied to crystallization modeling.
0008 %   Copyright (C) 2012 Alexander Reinhold
0009 %
0010 % This program is free software: you can redistribute it and/or modify it
0011 %   under the terms of the GNU General Public License as published by the
0012 %   Free Software Foundation, either version 3 of the License, or (at your
0013 %   option) any later version.
0014 %
0015 % This program is distributed in the hope that it will be useful, but
0016 %   WITHOUT ANY WARRANTY; without even the implied warranty of
0017 %   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0018 %   General Public License for more details.
0019 %
0020 % You should have received a copy of the GNU General Public License along
0021 %   with this program.  If not, see <http://www.gnu.org/licenses/>.
0022 
0023 % wrapper to structure handler functional
0024 %   this isolation is required to handle densities (growth rate gradients)
0025 %   easily
0026 
0027 % unpack
0028 solverState = unpackState(state, time, solverStateOriginal);
0029 % get  derivative
0030 derivativeStruct = genericDerivative(solverState, time, pbeDefinition);
0031 % pack
0032 stateDerivative = packState(derivativeStruct);
0033 
0034 end

Generated on Sat 18-Jul-2015 16:45:31 by m2html © 2005