rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
g0.m
1 function [w]=g0(a,b,c,d)
2 %
3 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4 %%% Funktion fuer Flussberechnung in FD Verfahren nach LeFloch & Hayes %%%
5 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6 %
7 % function [w]=g0(a,b,c,d)
8 
9 w = (-d^3+7*c^3+7*b^3-a^3)/12;