comparison +grid/Ti3D.m @ 355:69b078cf8072 feature/hypsyst

Upwind doed not work in the non curve-linear case.
author Ylva Rydin <ylva.rydin@telia.com>
date Thu, 08 Dec 2016 10:42:11 +0100
parents 5d5652fe826a
children
comparison
equal deleted inserted replaced
354:dbac99d2c318 355:69b078cf8072
3 gs % {6}Surfaces 3 gs % {6}Surfaces
4 V % FunctionHandle(XI,ETA,ZETA) 4 V % FunctionHandle(XI,ETA,ZETA)
5 end 5 end
6 6
7 methods 7 methods
8 % TODO function to label boundary names. 8 % TODO write all fancy features for flipping around with the surfaces
9 % function to find largest and smallest delta h in the grid. Maybe shouldnt live here 9 % Each surface is defined with an outward facing outward and choosing
10 % the "corner" where XI=0 if not possible the corner where ETA=0 is choosen
10 function obj = Ti3D(CW,CE,CS,CN,CB,CT) 11 function obj = Ti3D(CW,CE,CS,CN,CB,CT)
11 obj.gs = {CE,CW,CS,CN,CB,CT}; 12 obj.gs = {CE,CW,CS,CN,CB,CT};
12 13
13 gw = CW.g; 14 gw = CW.g;
14 ge = CE.g; 15 ge = CE.g;