Changeset 5093
- Timestamp:
- 08/09/10 14:25:27 (15 years ago)
- Location:
- issm/trunk/src/m/classes
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk/src/m/classes/@bamggeom/bamggeom.m ¶
r4391 r5093 17 17 bg.hVertices=[]; 18 18 bg.MetricVertices=[]; 19 bg.h1h2VpVertices=[];20 19 bg.SubDomains=[]; 21 20 -
TabularUnified issm/trunk/src/m/classes/@bamgmesh/bamgmesh.m ¶
r4391 r5093 12 12 bm.Triangles=[]; 13 13 bm.Quadrilaterals=[]; 14 bm. ElementEdges=[];15 bm. Segments=[];14 bm.IssmEdges=[]; 15 bm.IssmSegments=[]; 16 16 bm.VerticesOnGeometricVertex=[]; 17 17 bm.VerticesOnGeometricEdge=[]; -
TabularUnified issm/trunk/src/m/classes/public/bamg.m ¶
r5088 r5093 12 12 % 13 13 % - anisomax : maximum ration between the smallest and largest edges (default is 10^30) 14 % - coef 14 % - coeff : coefficient applied to the metric (2-> twice as many elements, default is 1) 15 15 % - cutoff : scalar used to compute the metric when metric type 2 or 3 are applied 16 16 % - err : error used to generate the metric from a field … … 22 22 % 1 -> use Green formula 23 23 % - KeepVertices: try to keep initial vertices when adaptation is done on an existing mesh (default 1) 24 % - Max imalAngleOfCorner: maximal angle of corners in degree (default is 10)24 % - MaxCornerAngle: maximal angle of corners in degree (default is 10) 25 25 % - maxnbv : maximum number of vertices used to allocate memory (default is 10^6) 26 26 % - maxsubdiv : maximum subdivision of exisiting elements (default is 10) … … 30 30 % 3 -> rescaled absolute error c/(err coeff^2) * Abs(H)/(smax-smin) 31 31 % - nbjacoby : correction used by Hessiantype=1 (default is 1) 32 % - NbSmooth : number of metric smoothing procedure (default is 3)32 % - nbsmooth : number of metric smoothing procedure (default is 3) 33 33 % - omega : relaxation parameter of the smoothing procedure (default is 1.8) 34 34 % - power : power applied to the metric (default is 1) … … 271 271 bamg_options.Crack=getfieldvalue(options,'Crack',0); 272 272 bamg_options.anisomax=getfieldvalue(options,'anisomax',10^30); 273 bamg_options.coef =getfieldvalue(options,'coef',1);273 bamg_options.coeff=getfieldvalue(options,'coeff',1); 274 274 bamg_options.cutoff=getfieldvalue(options,'cutoff',10^-5); 275 275 bamg_options.err=getfieldvalue(options,'err',0.01); … … 283 283 bamg_options.hmaxVertices=getfieldvalue(options,'hmaxVertices',[]); 284 284 bamg_options.KeepVertices=getfieldvalue(options,'KeepVertices',1); 285 bamg_options.Max imalAngleOfCorner=getfieldvalue(options,'MaximalAngleOfCorner',10);285 bamg_options.MaxCornerAngle=getfieldvalue(options,'MaxCornerAngle',10); 286 286 bamg_options.maxnbv=getfieldvalue(options,'maxnbv',10^6); 287 287 bamg_options.maxsubdiv=getfieldvalue(options,'maxsubdiv',10); … … 289 289 bamg_options.Metrictype=getfieldvalue(options,'Metrictype',0); 290 290 bamg_options.nbjacobi=getfieldvalue(options,'nbjacobi',1); 291 bamg_options. NbSmooth=getfieldvalue(options,'NbSmooth',3);291 bamg_options.nbsmooth=getfieldvalue(options,'nbsmooth',3); 292 292 bamg_options.omega=getfieldvalue(options,'omega',1.8); 293 293 bamg_options.power=getfieldvalue(options,'power',1); … … 307 307 md.y=bamgmesh_out.Vertices(:,2); 308 308 md.elements=bamgmesh_out.Triangles(:,1:3); 309 md.edges=bamgmesh_out. ElementEdges;310 md.segments=bamgmesh_out. Segments(:,1:3);311 md.segmentmarkers=bamgmesh_out. Segments(:,4);309 md.edges=bamgmesh_out.IssmEdges; 310 md.segments=bamgmesh_out.IssmSegments(:,1:3); 311 md.segmentmarkers=bamgmesh_out.IssmSegments(:,4); 312 312 313 313 %Fill in rest of fields: -
TabularUnified issm/trunk/src/m/classes/public/mesh/meshconvert.m ¶
r3994 r5093 31 31 md.y=bamgmesh_out.Vertices(:,2); 32 32 md.elements=bamgmesh_out.Triangles(:,1:3); 33 md.edges=bamgmesh_out. ElementEdges;34 md.segments=bamgmesh_out. Segments(:,1:3);35 md.segmentmarkers=bamgmesh_out. Segments(:,4);33 md.edges=bamgmesh_out.IssmEdges; 34 md.segments=bamgmesh_out.IssmSegments(:,1:3); 35 md.segmentmarkers=bamgmesh_out.IssmSegments(:,4); 36 36 37 37 %Fill in rest of fields:
Note:
See TracChangeset
for help on using the changeset viewer.