Changeset 5093


Ignore:
Timestamp:
08/09/10 14:25:27 (15 years ago)
Author:
Mathieu Morlighem
Message:

renamed some fields

Location:
issm/trunk/src/m/classes
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk/src/m/classes/@bamggeom/bamggeom.m

    r4391 r5093  
    1717        bg.hVertices=[];
    1818        bg.MetricVertices=[];
    19         bg.h1h2VpVertices=[];
    2019        bg.SubDomains=[];
    2120
  • TabularUnified issm/trunk/src/m/classes/@bamgmesh/bamgmesh.m

    r4391 r5093  
    1212        bm.Triangles=[];
    1313        bm.Quadrilaterals=[];
    14         bm.ElementEdges=[];
    15         bm.Segments=[];
     14        bm.IssmEdges=[];
     15        bm.IssmSegments=[];
    1616        bm.VerticesOnGeometricVertex=[];
    1717        bm.VerticesOnGeometricEdge=[];
  • TabularUnified issm/trunk/src/m/classes/public/bamg.m

    r5088 r5093  
    1212%
    1313%   - anisomax    : maximum ration between the smallest and largest edges (default is 10^30)
    14 %   - coef        : coefficient applied to the metric (2-> twice as many elements, default is 1)
     14%   - coeff       : coefficient applied to the metric (2-> twice as many elements, default is 1)
    1515%   - cutoff      : scalar used to compute the metric when metric type 2 or 3 are applied
    1616%   - err         : error used to generate the metric from a field
     
    2222%                   1 -> use Green formula
    2323%   - KeepVertices: try to keep initial vertices when adaptation is done on an existing mesh (default 1)
    24 %   - MaximalAngleOfCorner: maximal angle of corners in degree (default is 10)
     24%   - MaxCornerAngle: maximal angle of corners in degree (default is 10)
    2525%   - maxnbv      : maximum number of vertices used to allocate memory (default is 10^6)
    2626%   - maxsubdiv   : maximum subdivision of exisiting elements (default is 10)
     
    3030%                   3 -> rescaled absolute error c/(err coeff^2) * Abs(H)/(smax-smin)
    3131%   - 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)
    3333%   - omega       : relaxation parameter of the smoothing procedure (default is 1.8)
    3434%   - power       : power applied to the metric (default is 1)
     
    271271bamg_options.Crack=getfieldvalue(options,'Crack',0);
    272272bamg_options.anisomax=getfieldvalue(options,'anisomax',10^30);
    273 bamg_options.coef=getfieldvalue(options,'coef',1);
     273bamg_options.coeff=getfieldvalue(options,'coeff',1);
    274274bamg_options.cutoff=getfieldvalue(options,'cutoff',10^-5);
    275275bamg_options.err=getfieldvalue(options,'err',0.01);
     
    283283bamg_options.hmaxVertices=getfieldvalue(options,'hmaxVertices',[]);
    284284bamg_options.KeepVertices=getfieldvalue(options,'KeepVertices',1);
    285 bamg_options.MaximalAngleOfCorner=getfieldvalue(options,'MaximalAngleOfCorner',10);
     285bamg_options.MaxCornerAngle=getfieldvalue(options,'MaxCornerAngle',10);
    286286bamg_options.maxnbv=getfieldvalue(options,'maxnbv',10^6);
    287287bamg_options.maxsubdiv=getfieldvalue(options,'maxsubdiv',10);
     
    289289bamg_options.Metrictype=getfieldvalue(options,'Metrictype',0);
    290290bamg_options.nbjacobi=getfieldvalue(options,'nbjacobi',1);
    291 bamg_options.NbSmooth=getfieldvalue(options,'NbSmooth',3);
     291bamg_options.nbsmooth=getfieldvalue(options,'nbsmooth',3);
    292292bamg_options.omega=getfieldvalue(options,'omega',1.8);
    293293bamg_options.power=getfieldvalue(options,'power',1);
     
    307307md.y=bamgmesh_out.Vertices(:,2);
    308308md.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);
     309md.edges=bamgmesh_out.IssmEdges;
     310md.segments=bamgmesh_out.IssmSegments(:,1:3);
     311md.segmentmarkers=bamgmesh_out.IssmSegments(:,4);
    312312
    313313%Fill in rest of fields:
  • TabularUnified issm/trunk/src/m/classes/public/mesh/meshconvert.m

    r3994 r5093  
    3131md.y=bamgmesh_out.Vertices(:,2);
    3232md.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);
     33md.edges=bamgmesh_out.IssmEdges;
     34md.segments=bamgmesh_out.IssmSegments(:,1:3);
     35md.segmentmarkers=bamgmesh_out.IssmSegments(:,4);
    3636
    3737%Fill in rest of fields:
Note: See TracChangeset for help on using the changeset viewer.