[21726] | 1 | Index: ../trunk-jpl/src/m/classes/mesh3dprisms.m
|
---|
| 2 | ===================================================================
|
---|
| 3 | --- ../trunk-jpl/src/m/classes/mesh3dprisms.m (revision 21500)
|
---|
| 4 | +++ ../trunk-jpl/src/m/classes/mesh3dprisms.m (revision 21501)
|
---|
| 5 | @@ -108,13 +108,13 @@
|
---|
| 6 | %Check that mesh follows the geometry
|
---|
| 7 | md = checkfield(md,'fieldname','mesh.z','>=',md.geometry.base-10^-10,'message','''mesh.z'' lower than bedrock');
|
---|
| 8 | md = checkfield(md,'fieldname','mesh.z','<=',md.geometry.surface+10^-10,'message','''mesh.z'' higher than surface elevation');
|
---|
| 9 | - if any(max(abs(project2d(md,md.mesh.z,1)-project2d(md,md.geometry.base,1)))>1e-11),
|
---|
| 10 | + if any(max(abs(project2d(md,md.mesh.z,1)-project2d(md,md.geometry.base,1)))>1e-10),
|
---|
| 11 | md = checkmessage(md,'md.mesh.z is not consistent with md.geometry.base, you changed the geometry after extrusion');
|
---|
| 12 | end
|
---|
| 13 | - if any(max(abs(project2d(md,md.mesh.z,md.mesh.numberoflayers)-project2d(md,md.geometry.surface,1)))>1e-11),
|
---|
| 14 | + if any(max(abs(project2d(md,md.mesh.z,md.mesh.numberoflayers)-project2d(md,md.geometry.surface,1)))>1e-10),
|
---|
| 15 | md = checkmessage(md,'md.mesh.z is not consistent with md.geometry.surface, you changed the geometry after extrusion !!');
|
---|
| 16 | end
|
---|
| 17 | - if any(max(abs(project2d(md,md.mesh.z,md.mesh.numberoflayers)-project2d(md,md.mesh.z,1) - project2d(md,md.geometry.thickness,1)))>1e-11),
|
---|
| 18 | + if any(max(abs(project2d(md,md.mesh.z,md.mesh.numberoflayers)-project2d(md,md.mesh.z,1) - project2d(md,md.geometry.thickness,1)))>1e-10),
|
---|
| 19 | md = checkmessage(md,'md.mesh.z is not consistent with md.geometry.thickness, you changed the geometry after extrusion !!');
|
---|
| 20 | end
|
---|
| 21 | end % }}}
|
---|