Commit b7407f2e authored by Michael Turner's avatar Michael Turner
Browse files

added 3 regression tests to NekMesh generation

parent 517fb1ad
......@@ -183,7 +183,7 @@ INCLUDE (ThirdPartyQT4)
INCLUDE (ThirdPartySMV)
INCLUDE (ThirdPartyTriangle)
INCLUDE (ThirdPartyTetGen)
INCLUDE (FindANN)
INCLUDE (ThirdPartyANN)
INCLUDE (ThirdPartyCCM)
INCLUDE (ThirdPartyHDF5)
......
......@@ -8,7 +8,7 @@
IF(NEKTAR_USE_MESH)
IF(NEKTAR_USE_MESHGEN)
find_library(LIB_ANN ANN
PATHS /opt/local/lib)
......@@ -25,4 +25,4 @@ LINK_DIRECTORIES(${ANN_LIB_DIR})
INCLUDE_DIRECTORIES(SYSTEM ${ANN_INCLUDE_DIR})
ENDIF(NEKTAR_USE_MESH)
ENDIF(NEKTAR_USE_MESHGEN)
......@@ -227,13 +227,16 @@ void CurveMesh::Mesh()
m_mesh->m_edgeSet.insert(e);
}
cout << "\r "
" ";
cout << scientific << "\r\t\tCurve " << m_id << endl
<< "\t\t\tLength: " << m_curvelength << endl
<< "\t\t\tNodes: " << m_meshpoints.size() << endl
<< "\t\t\tSample points: " << m_numSamplePoints << endl
<< endl;
if(m_mesh->m_verbose)
{
cout << "\r "
" ";
cout << scientific << "\r\t\tCurve " << m_id << endl
<< "\t\t\tLength: " << m_curvelength << endl
<< "\t\t\tNodes: " << m_meshpoints.size() << endl
<< "\t\t\tSample points: " << m_numSamplePoints << endl
<< endl;
}
}
void CurveMesh::GetPhiFunction()
......
......@@ -130,15 +130,18 @@ void FaceMesh::Mesh(bool remesh)
m_mesh->m_element[2].push_back(m_localElements[i]);
}
cout << "\r "
" ";
cout << scientific << "\r\t\tFace " << m_id << endl
<< "\t\t\tNodes: " << m_localNodes.size() << endl
<< "\t\t\tEdges: " << m_localEdges.size() << endl
<< "\t\t\tTriangles: " << m_localElements.size() << endl
<< "\t\t\tLoops: " << m_edgeloops.size() << endl
<< "\t\t\tSTR: " << m_str << endl
<< endl;
if(m_mesh->m_verbose)
{
cout << "\r "
" ";
cout << scientific << "\r\t\tFace " << m_id << endl
<< "\t\t\tNodes: " << m_localNodes.size() << endl
<< "\t\t\tEdges: " << m_localEdges.size() << endl
<< "\t\t\tTriangles: " << m_localElements.size() << endl
<< "\t\t\tLoops: " << m_edgeloops.size() << endl
<< "\t\t\tSTR: " << m_str << endl
<< endl;
}
}
void FaceMesh::QuadRemesh(map<NodeSharedPtr, NodeSharedPtr> nmap)
......
......@@ -400,8 +400,11 @@ void SurfaceMesh::HOSurf()
if (!BGFSUpdate(opti, J, B, H))
{
cout << "BFGS reported no update, curve on "
<< c->GetId() << endl;
if(m_mesh->m_verbose)
{
cout << "BFGS reported no update, curve on "
<< c->GetId() << endl;
}
break;
}
}
......@@ -529,8 +532,11 @@ void SurfaceMesh::HOSurf()
if (!BGFSUpdate(opti, J, B, H))
{
cout << "BFGS reported no update, edge on " << surf
<< endl;
if(m_mesh->m_verbose)
{
cout << "BFGS reported no update, edge on " << surf
<< endl;
}
// exit(-1);
break;
}
......
......@@ -119,3 +119,10 @@ ADD_NEKTAR_TEST (Nektar/Tube45)
# StarCCM tests
ADD_NEKTAR_TEST (StarTec/CubePer)
ADD_NEKTAR_TEST_LENGTHY(StarTec/StraightRW)
# MeshGen test
IF(NEKTAR_USE_MESHGEN)
ADD_NEKTAR_TEST (MeshGen/cylinder)
ADD_NEKTAR_TEST (MeshGen/sphere)
ADD_NEKTAR_TEST (MeshGen/predator)
ENDIF()
This diff is collapsed.
<NEKTAR>
<CONDITIONS>
<SOLVERINFO>
<I PROPERTY="CADFile" VALUE="cylinder.STEP" />
<I PROPERTY="MeshType" VALUE="Euler" />
</SOLVERINFO>
<PARAMETERS>
<P> MinDelta = 0.005 </P>
<P> MaxDelta = 0.2 </P>
<P> EPS = 0.1 </P>
<P> Order = 4 </P>
</PARAMETERS>
</CONDITIONS>
</NEKTAR>
<?xml version="1.0" encoding="utf-8" ?>
<test>
<description>Simple geometry with cylinder</description>
<executable>NekMesh</executable>
<parameters>-m jac:list cylinder.mcf cylinder.xml:xml:test</parameters>
<files>
<file description="Input File">cylinder.mcf</file>
<file description="Input File 2">cylinder.STEP</file>
</files>
<metrics>
<metric type="regex" id="1">
<regex>^Total negative Jacobians: (\d+)</regex>
<matches>
<match>
<field id="0">0</field>
</match>
</matches>
</metric>
</metrics>
</test>
This diff is collapsed.
<NEKTAR>
<CONDITIONS>
<SOLVERINFO>
<I PROPERTY="CADFile" VALUE="predator.STEP" />
<I PROPERTY="MeshType" VALUE="Euler" />
</SOLVERINFO>
<PARAMETERS>
<P> MinDelta = 0.05 </P>
<P> MaxDelta = 1.0 </P>
<P> EPS = 0.5 </P>
<P> Order = 4 </P>
</PARAMETERS>
</CONDITIONS>
</NEKTAR>
<?xml version="1.0" encoding="utf-8" ?>
<test>
<description>Complex geometry of predator drone, no bl</description>
<executable>NekMesh</executable>
<parameters>-m jac:list predator.mcf predator.xml:xml:test</parameters>
<files>
<file description="Input File">predator.mcf</file>
<file description="Input File 2">predator.STEP</file>
</files>
<metrics>
<metric type="regex" id="1">
<regex>^Total negative Jacobians: (\d+)</regex>
<matches>
<match>
<field id="0">0</field>
</match>
</matches>
</metric>
</metrics>
</test>
ISO-10303-21;
HEADER;
FILE_DESCRIPTION (( 'STEP AP203' ),
'1' );
FILE_NAME ('sphere.STEP',
'2016-02-10T11:16:03',
( '' ),
( '' ),
'SwSTEP 2.0',
'SolidWorks 2014',
'' );
FILE_SCHEMA (( 'CONFIG_CONTROL_DESIGN' ));
ENDSEC;
DATA;
#1 = DIRECTION ( 'NONE', ( 0.0000000000000000000, 0.0000000000000000000, 1.000000000000000000 ) ) ;
#2 = ADVANCED_FACE ( 'NONE', ( #6 ), #85, .F. ) ;
#3 = DIRECTION ( 'NONE', ( 0.0000000000000000000, -1.000000000000000000, 0.0000000000000000000 ) ) ;
#4 = CALENDAR_DATE ( 2016, 10, 2 ) ;
#5 = PLANE ( 'NONE', #57 ) ;
#6 = FACE_OUTER_BOUND ( 'NONE', #77, .T. ) ;
#7 = EDGE_LOOP ( 'NONE', ( #44, #103, #182, #168 ) ) ;
#8 = CC_DESIGN_APPROVAL ( #250, ( #31 ) ) ;
#9 = DIRECTION ( 'NONE', ( -0.0000000000000000000, 1.000000000000000000, -0.0000000000000000000 ) ) ;
#10 =( NAMED_UNIT ( * ) PLANE_ANGLE_UNIT ( ) SI_UNIT ( $, .RADIAN. ) );
#11 = APPROVAL_ROLE ( '' ) ;
#12 =( NAMED_UNIT ( * ) SI_UNIT ( $, .STERADIAN. ) SOLID_ANGLE_UNIT ( ) );
#13 = LOCAL_TIME ( 11, 16, 3.000000000000000000, #82 ) ;
#14 = VECTOR ( 'NONE', #89, 1.000000000000000000 ) ;
#15 = ORIENTED_EDGE ( 'NONE', *, *, #263, .F. ) ;
#16 = ORIENTED_EDGE ( 'NONE', *, *, #148, .T. ) ;
#17 = CC_DESIGN_PERSON_AND_ORGANIZATION_ASSIGNMENT ( #109, #214, ( #31 ) ) ;
#18 = ORGANIZATION ( 'UNSPECIFIED', 'UNSPECIFIED', '' ) ;
#19 = VECTOR ( 'NONE', #177, 1.000000000000000000 ) ;
#20 = DIRECTION ( 'NONE', ( 0.0000000000000000000, -0.0000000000000000000, -1.000000000000000000 ) ) ;
#21 = ADVANCED_FACE ( 'NONE', ( #211 ), #22, .F. ) ;
#22 = PLANE ( 'NONE', #273 ) ;
#23 = APPROVAL_DATE_TIME ( #290, #93 ) ;
#24 = ORIENTED_EDGE ( 'NONE', *, *, #287, .T. ) ;
#25 = DIRECTION ( 'NONE', ( -0.0000000000000000000, -0.0000000000000000000, -1.000000000000000000 ) ) ;
#26 = APPROVAL_PERSON_ORGANIZATION ( #72, #250, #282 ) ;
#27 = EDGE_LOOP ( 'NONE', ( #228, #203 ) ) ;
#28 = CARTESIAN_POINT ( 'NONE', ( -1.000000000000000000, 1.000000000000000000, 0.7500000000000000000 ) ) ;
#29 = APPLICATION_PROTOCOL_DEFINITION ( 'international standard', 'config_control_design', 1994, #113 ) ;
#30 = APPLICATION_CONTEXT ( 'configuration controlled 3d designs of mechanical parts and assemblies' ) ;
#31 = PRODUCT_DEFINITION_FORMATION_WITH_SPECIFIED_SOURCE ( 'ANY', '', #198, .NOT_KNOWN. ) ;
#32 = VECTOR ( 'NONE', #132, 1.000000000000000000 ) ;
#33 = DIRECTION ( 'NONE', ( -1.000000000000000000, -0.0000000000000000000, -0.0000000000000000000 ) ) ;
#34 = AXIS2_PLACEMENT_3D ( 'NONE', #38, #181, #277 ) ;
#35 = COORDINATED_UNIVERSAL_TIME_OFFSET ( 0, 0, .AHEAD. ) ;
#36 = EDGE_LOOP ( 'NONE', ( #69, #249, #240, #219 ) ) ;
#37 = EDGE_CURVE ( 'NONE', #102, #270, #265, .T. ) ;
#38 = CARTESIAN_POINT ( 'NONE', ( 0.0000000000000000000, 0.0000000000000000000, 0.0000000000000000000 ) ) ;
#39 = ADVANCED_FACE ( 'NONE', ( #86 ), #246, .F. ) ;
#40 = CARTESIAN_POINT ( 'NONE', ( -1.000000000000000000, 1.000000000000000000, 0.7500000000000000000 ) ) ;
#41 = CC_DESIGN_DATE_AND_TIME_ASSIGNMENT ( #218, #94, ( #192 ) ) ;
#42 = CARTESIAN_POINT ( 'NONE', ( -1.000000000000000000, 1.000000000000000000, 0.0000000000000000000 ) ) ;
#43 = VERTEX_POINT ( 'NONE', #128 ) ;
#44 = ORIENTED_EDGE ( 'NONE', *, *, #139, .T. ) ;
#45 = DIRECTION ( 'NONE', ( 0.0000000000000000000, 0.0000000000000000000, 1.000000000000000000 ) ) ;
#46 = PRODUCT_DEFINITION_SHAPE ( 'NONE', 'NONE', #160 ) ;
#47 = AXIS2_PLACEMENT_3D ( 'NONE', #191, #92, #73 ) ;
#48 = CARTESIAN_POINT ( 'NONE', ( 0.0000000000000000000, 0.0000000000000000000, 0.0000000000000000000 ) ) ;
#49 = PERSON_AND_ORGANIZATION ( #222, #18 ) ;
#50 = CARTESIAN_POINT ( 'NONE', ( -1.000000000000000000, 1.000000000000000000, 0.7500000000000000000 ) ) ;
#51 = LINE ( 'NONE', #175, #237 ) ;
#52 = VERTEX_POINT ( 'NONE', #156 ) ;
#53 = PERSON_AND_ORGANIZATION_ROLE ( 'classification_officer' ) ;
#54 = CARTESIAN_POINT ( 'NONE', ( 0.0000000000000000000, 0.0000000000000000000, 0.0000000000000000000 ) ) ;
#55 = VECTOR ( 'NONE', #248, 1.000000000000000000 ) ;
#56 = FACE_OUTER_BOUND ( 'NONE', #293, .T. ) ;
#57 = AXIS2_PLACEMENT_3D ( 'NONE', #220, #199, #125 ) ;
#58 = ORIENTED_EDGE ( 'NONE', *, *, #292, .F. ) ;
#59 = CC_DESIGN_PERSON_AND_ORGANIZATION_ASSIGNMENT ( #236, #260, ( #31 ) ) ;
#60 = ADVANCED_FACE ( 'NONE', ( #256 ), #5, .F. ) ;
#61 = PERSON_AND_ORGANIZATION ( #222, #18 ) ;
#62 = DIRECTION ( 'NONE', ( 0.0000000000000000000, 1.000000000000000000, 0.0000000000000000000 ) ) ;
#63 = ORIENTED_EDGE ( 'NONE', *, *, #209, .T. ) ;
#64 = DIRECTION ( 'NONE', ( 0.0000000000000000000, -1.000000000000000000, 0.0000000000000000000 ) ) ;
#65 = EDGE_CURVE ( 'NONE', #102, #283, #136, .T. ) ;
#66 = DIRECTION ( 'NONE', ( -1.000000000000000000, -0.0000000000000000000, -0.0000000000000000000 ) ) ;
#67 = DIRECTION ( 'NONE', ( 0.0000000000000000000, 1.000000000000000000, 0.0000000000000000000 ) ) ;
#68 = ORIENTED_EDGE ( 'NONE', *, *, #143, .T. ) ;
#69 = ORIENTED_EDGE ( 'NONE', *, *, #263, .T. ) ;
#70 = AXIS2_PLACEMENT_3D ( 'NONE', #174, #62, #105 ) ;
#71 = DIRECTION ( 'NONE', ( 0.0000000000000000000, 0.0000000000000000000, 1.000000000000000000 ) ) ;
#72 = PERSON_AND_ORGANIZATION ( #222, #18 ) ;
#73 = DIRECTION ( 'NONE', ( 0.0000000000000000000, 0.0000000000000000000, -1.000000000000000000 ) ) ;
#74 = VECTOR ( 'NONE', #33, 1.000000000000000000 ) ;
#75 = DIRECTION ( 'NONE', ( -0.0000000000000000000, 0.0000000000000000000, 1.000000000000000000 ) ) ;
#76 = PERSON_AND_ORGANIZATION_ROLE ( 'design_owner' ) ;
#77 = EDGE_LOOP ( 'NONE', ( #63, #200, #215, #127 ) ) ;
#78 = LINE ( 'NONE', #107, #19 ) ;
#79 = ORIENTED_EDGE ( 'NONE', *, *, #190, .F. ) ;
#80 = EDGE_CURVE ( 'NONE', #83, #161, #288, .T. ) ;
#81 = DATE_AND_TIME ( #4, #124 ) ;
#82 = COORDINATED_UNIVERSAL_TIME_OFFSET ( 0, 0, .AHEAD. ) ;
#83 = VERTEX_POINT ( 'NONE', #170 ) ;
#84 = CARTESIAN_POINT ( 'NONE', ( 0.0000000000000000000, 0.0000000000000000000, 0.0000000000000000000 ) ) ;
#85 = PLANE ( 'NONE', #258 ) ;
#86 = FACE_OUTER_BOUND ( 'NONE', #36, .T. ) ;
#87 = ORIENTED_EDGE ( 'NONE', *, *, #80, .F. ) ;
#88 = CARTESIAN_POINT ( 'NONE', ( 3.000000000000000000, 1.000000000000000000, 0.0000000000000000000 ) ) ;
#89 = DIRECTION ( 'NONE', ( -0.0000000000000000000, 1.000000000000000000, -0.0000000000000000000 ) ) ;
#90 = CARTESIAN_POINT ( 'NONE', ( 0.0000000000000000000, 0.0000000000000000000, 0.7500000000000000000 ) ) ;
#91 = ORIENTED_EDGE ( 'NONE', *, *, #37, .T. ) ;
#92 = DIRECTION ( 'NONE', ( 0.0000000000000000000, -1.000000000000000000, 0.0000000000000000000 ) ) ;
#93 = APPROVAL ( #232, 'UNSPECIFIED' ) ;
#94 = DATE_TIME_ROLE ( 'classification_date' ) ;
#95 = COORDINATED_UNIVERSAL_TIME_OFFSET ( 0, 0, .AHEAD. ) ;
#96 = DIRECTION ( 'NONE', ( 1.224646799147353200E-016, 1.000000000000000000, -0.0000000000000000000 ) ) ;
#97 = CC_DESIGN_PERSON_AND_ORGANIZATION_ASSIGNMENT ( #106, #253, ( #160 ) ) ;
#98 = LINE ( 'NONE', #130, #74 ) ;
#99 = AXIS2_PLACEMENT_3D ( 'NONE', #278, #67, #276 ) ;
#100 = CALENDAR_DATE ( 2016, 10, 2 ) ;
#101 = CIRCLE ( 'NONE', #47, 0.2500000000000000000 ) ;
#102 = VERTEX_POINT ( 'NONE', #173 ) ;
#103 = ORIENTED_EDGE ( 'NONE', *, *, #163, .F. ) ;
#104 =( GEOMETRIC_REPRESENTATION_CONTEXT ( 3 ) GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT ( ( #153 ) ) GLOBAL_UNIT_ASSIGNED_CONTEXT ( ( #188, #10, #12 ) ) REPRESENTATION_CONTEXT ( 'NONE', 'WORKASPACE' ) );
#105 = DIRECTION ( 'NONE', ( 0.0000000000000000000, -0.0000000000000000000, 1.000000000000000000 ) ) ;
#106 = PERSON_AND_ORGANIZATION ( #222, #18 ) ;
#107 = CARTESIAN_POINT ( 'NONE', ( 3.000000000000000000, 1.000000000000000000, 0.7500000000000000000 ) ) ;
#108 = DIRECTION ( 'NONE', ( -0.0000000000000000000, 0.0000000000000000000, 1.000000000000000000 ) ) ;
#109 = PERSON_AND_ORGANIZATION ( #222, #18 ) ;
#110 = CIRCLE ( 'NONE', #212, 0.2500000000000000000 ) ;
#111 = VECTOR ( 'NONE', #64, 1.000000000000000000 ) ;
#112 = AXIS2_PLACEMENT_3D ( 'NONE', #231, #45, #252 ) ;
#113 = APPLICATION_CONTEXT ( 'configuration controlled 3d designs of mechanical parts and assemblies' ) ;
#114 = VERTEX_POINT ( 'NONE', #242 ) ;
#115 = DATE_TIME_ROLE ( 'creation_date' ) ;
#116 = AXIS2_PLACEMENT_3D ( 'NONE', #281, #71, #233 ) ;
#117 = CALENDAR_DATE ( 2016, 10, 2 ) ;
#118 = FACE_OUTER_BOUND ( 'NONE', #152, .T. ) ;
#119 = EDGE_LOOP ( 'NONE', ( #68, #225, #217, #204 ) ) ;
#120 = ORIENTED_EDGE ( 'NONE', *, *, #139, .F. ) ;
#121 = ADVANCED_FACE ( 'NONE', ( #118 ), #159, .F. ) ;
#122 = CARTESIAN_POINT ( 'NONE', ( -1.000000000000000000, -1.000000000000000000, 0.7500000000000000000 ) ) ;
#123 = DIRECTION ( 'NONE', ( -0.0000000000000000000, 0.0000000000000000000, -1.000000000000000000 ) ) ;
#124 = LOCAL_TIME ( 11, 16, 3.000000000000000000, #230 ) ;
#125 = DIRECTION ( 'NONE', ( 0.0000000000000000000, 0.0000000000000000000, 1.000000000000000000 ) ) ;
#126 = LINE ( 'NONE', #42, #291 ) ;
#127 = ORIENTED_EDGE ( 'NONE', *, *, #180, .T. ) ;
#128 = CARTESIAN_POINT ( 'NONE', ( 3.000000000000000000, 1.000000000000000000, 0.7500000000000000000 ) ) ;
#129 = CC_DESIGN_APPROVAL ( #93, ( #160 ) ) ;
#130 = CARTESIAN_POINT ( 'NONE', ( -1.000000000000000000, 1.000000000000000000, 0.7500000000000000000 ) ) ;
#131 = APPROVAL_DATE_TIME ( #150, #250 ) ;
#132 = DIRECTION ( 'NONE', ( -0.0000000000000000000, -0.0000000000000000000, -1.000000000000000000 ) ) ;
#133 = VERTEX_POINT ( 'NONE', #183 ) ;
#134 = CARTESIAN_POINT ( 'NONE', ( 3.000000000000000000, 1.000000000000000000, 0.7500000000000000000 ) ) ;
#135 = APPROVAL_STATUS ( 'not_yet_approved' ) ;
#136 = LINE ( 'NONE', #122, #194 ) ;
#137 = APPROVAL_STATUS ( 'not_yet_approved' ) ;
#138 = CARTESIAN_POINT ( 'NONE', ( -1.000000000000000000, -1.000000000000000000, 0.0000000000000000000 ) ) ;
#139 = EDGE_CURVE ( 'NONE', #52, #133, #269, .T. ) ;
#140 = APPROVAL_PERSON_ORGANIZATION ( #202, #93, #259 ) ;
#141 = CIRCLE ( 'NONE', #112, 0.2500000000000000000 ) ;
#142 = VERTEX_POINT ( 'NONE', #50 ) ;
#143 = EDGE_CURVE ( 'NONE', #133, #114, #51, .T. ) ;
#144 = ORIENTED_EDGE ( 'NONE', *, *, #143, .F. ) ;
#145 = LOCAL_TIME ( 11, 16, 3.000000000000000000, #95 ) ;
#146 = SHAPE_DEFINITION_REPRESENTATION ( #46, #169 ) ;
#147 = VECTOR ( 'NONE', #9, 1.000000000000000000 ) ;
#148 = EDGE_CURVE ( 'NONE', #142, #102, #172, .T. ) ;
#149 = DATE_AND_TIME ( #100, #145 ) ;
#150 = DATE_AND_TIME ( #195, #241 ) ;
#151 = DIRECTION ( 'NONE', ( 1.000000000000000000, 0.0000000000000000000, 0.0000000000000000000 ) ) ;
#152 = EDGE_LOOP ( 'NONE', ( #79, #186, #280 ) ) ;
#153 = UNCERTAINTY_MEASURE_WITH_UNIT (LENGTH_MEASURE( 1.000000000000000100E-005 ), #188, 'distance_accuracy_value', 'NONE');
#154 = ADVANCED_FACE ( 'NONE', ( #56 ), #279, .F. ) ;
#155 = CARTESIAN_POINT ( 'NONE', ( -1.000000000000000000, 1.000000000000000000, 0.7500000000000000000 ) ) ;
#156 = CARTESIAN_POINT ( 'NONE', ( 3.000000000000000000, -1.000000000000000000, 0.0000000000000000000 ) ) ;
#157 = CARTESIAN_POINT ( 'NONE', ( -1.000000000000000000, 1.000000000000000000, 0.7500000000000000000 ) ) ;
#158 = AXIS2_PLACEMENT_3D ( 'NONE', #84, #1, #151 ) ;
#159 = SPHERICAL_SURFACE ( 'NONE', #34, 0.2500000000000000000 ) ;
#160 = PRODUCT_DEFINITION ( 'UNKNOWN', '', #31, #208 ) ;
#161 = VERTEX_POINT ( 'NONE', #205 ) ;
#162 = DIRECTION ( 'NONE', ( -0.0000000000000000000, -0.0000000000000000000, -1.000000000000000000 ) ) ;
#163 = EDGE_CURVE ( 'NONE', #43, #133, #78, .T. ) ;
#164 = CARTESIAN_POINT ( 'NONE', ( 3.000000000000000000, -1.000000000000000000, 0.7500000000000000000 ) ) ;
#165 = ORIENTED_EDGE ( 'NONE', *, *, #244, .T. ) ;
#166 = DIRECTION ( 'NONE', ( -1.000000000000000000, 1.224646799147353200E-016, 0.0000000000000000000 ) ) ;
#167 = EDGE_CURVE ( 'NONE', #270, #43, #243, .T. ) ;
#168 = ORIENTED_EDGE ( 'NONE', *, *, #239, .T. ) ;
#169 = ADVANCED_BREP_SHAPE_REPRESENTATION ( 'sphere', ( #272, #116 ), #104 ) ;
#170 = CARTESIAN_POINT ( 'NONE', ( 0.2500000000000000000, 0.0000000000000000000, 0.0000000000000000000 ) ) ;
#171 = CC_DESIGN_DATE_AND_TIME_ASSIGNMENT ( #81, #115, ( #160 ) ) ;
#172 = LINE ( 'NONE', #157, #111 ) ;
#173 = CARTESIAN_POINT ( 'NONE', ( -1.000000000000000000, -1.000000000000000000, 0.7500000000000000000 ) ) ;
#174 = CARTESIAN_POINT ( 'NONE', ( -1.000000000000000000, -1.000000000000000000, 0.7500000000000000000 ) ) ;
#175 = CARTESIAN_POINT ( 'NONE', ( -1.000000000000000000, 1.000000000000000000, 0.0000000000000000000 ) ) ;
#176 = ORIENTED_EDGE ( 'NONE', *, *, #167, .T. ) ;
#177 = DIRECTION ( 'NONE', ( -0.0000000000000000000, -0.0000000000000000000, -1.000000000000000000 ) ) ;
#178 = DIRECTION ( 'NONE', ( 0.0000000000000000000, -1.000000000000000000, 0.0000000000000000000 ) ) ;
#179 = PLANE ( 'NONE', #197 ) ;
#180 = EDGE_CURVE ( 'NONE', #142, #114, #286, .T. ) ;
#181 = DIRECTION ( 'NONE', ( 0.0000000000000000000, 1.000000000000000000, 0.0000000000000000000 ) ) ;
#182 = ORIENTED_EDGE ( 'NONE', *, *, #167, .F. ) ;
#183 = CARTESIAN_POINT ( 'NONE', ( 3.000000000000000000, 1.000000000000000000, 0.0000000000000000000 ) ) ;
#184 = CARTESIAN_POINT ( 'NONE', ( 3.000000000000000000, -1.000000000000000000, 0.7500000000000000000 ) ) ;
#185 = VECTOR ( 'NONE', #162, 1.000000000000000000 ) ;
#186 = ORIENTED_EDGE ( 'NONE', *, *, #292, .T. ) ;
#187 = PRODUCT_RELATED_PRODUCT_CATEGORY ( 'detail', '', ( #198 ) ) ;
#188 =( LENGTH_UNIT ( ) NAMED_UNIT ( * ) SI_UNIT ( $, .METRE. ) );
#189 = CARTESIAN_POINT ( 'NONE', ( 1.530808498934191500E-017, 0.0000000000000000000, 0.2500000000000000000 ) ) ;
#190 = EDGE_CURVE ( 'NONE', #161, #83, #141, .T. ) ;
#191 = CARTESIAN_POINT ( 'NONE', ( 0.0000000000000000000, 0.0000000000000000000, 0.0000000000000000000 ) ) ;
#192 = SECURITY_CLASSIFICATION ( '', '', #284 ) ;
#193 = LINE ( 'NONE', #184, #185 ) ;
#194 = VECTOR ( 'NONE', #25, 1.000000000000000000 ) ;
#195 = CALENDAR_DATE ( 2016, 10, 2 ) ;
#196 = EDGE_LOOP ( 'NONE', ( #16, #91, #176, #165 ) ) ;
#197 = AXIS2_PLACEMENT_3D ( 'NONE', #90, #75, #257 ) ;
#198 = PRODUCT ( 'sphere', 'sphere', '', ( #207 ) ) ;
#199 = DIRECTION ( 'NONE', ( -1.000000000000000000, 0.0000000000000000000, 0.0000000000000000000 ) ) ;
#200 = ORIENTED_EDGE ( 'NONE', *, *, #65, .F. ) ;
#201 = APPROVAL ( #137, 'UNSPECIFIED' ) ;
#202 = PERSON_AND_ORGANIZATION ( #222, #18 ) ;
#203 = ORIENTED_EDGE ( 'NONE', *, *, #190, .T. ) ;
#204 = ORIENTED_EDGE ( 'NONE', *, *, #163, .T. ) ;
#205 = CARTESIAN_POINT ( 'NONE', ( -0.2500000000000000000, 3.061616997868383000E-017, 0.0000000000000000000 ) ) ;
#206 = LOCAL_TIME ( 11, 16, 3.000000000000000000, #268 ) ;
#207 = MECHANICAL_CONTEXT ( 'NONE', #30, 'mechanical' ) ;
#208 = DESIGN_CONTEXT ( 'detailed design', #113, 'design' ) ;
#209 = EDGE_CURVE ( 'NONE', #114, #283, #126, .T. ) ;
#210 = DIRECTION ( 'NONE', ( 1.000000000000000000, 0.0000000000000000000, 0.0000000000000000000 ) ) ;
#211 = FACE_OUTER_BOUND ( 'NONE', #119, .T. ) ;
#212 = AXIS2_PLACEMENT_3D ( 'NONE', #54, #96, #166 ) ;
#213 = APPROVAL_PERSON_ORGANIZATION ( #289, #201, #11 ) ;
#214 = PERSON_AND_ORGANIZATION_ROLE ( 'design_supplier' ) ;
#215 = ORIENTED_EDGE ( 'NONE', *, *, #148, .F. ) ;
#216 = APPROVAL_DATE_TIME ( #149, #201 ) ;
#217 = ORIENTED_EDGE ( 'NONE', *, *, #244, .F. ) ;
#218 = DATE_AND_TIME ( #264, #206 ) ;
#219 = ORIENTED_EDGE ( 'NONE', *, *, #65, .T. ) ;
#220 = CARTESIAN_POINT ( 'NONE', ( 3.000000000000000000, 1.000000000000000000, 0.7500000000000000000 ) ) ;
#221 = ADVANCED_FACE ( 'NONE', ( #247, #224 ), #251, .F. ) ;
#222 = PERSON ( 'UNSPECIFIED', 'UNSPECIFIED', 'UNSPECIFIED', ('UNSPECIFIED'), ('UNSPECIFIED'), ('UNSPECIFIED') ) ;
#223 = CC_DESIGN_SECURITY_CLASSIFICATION ( #192, ( #31 ) ) ;
#224 = FACE_OUTER_BOUND ( 'NONE', #274, .T. ) ;
#225 = ORIENTED_EDGE ( 'NONE', *, *, #180, .F. ) ;
#226 = ADVANCED_FACE ( 'NONE', ( #255 ), #179, .T. ) ;
#227 = CC_DESIGN_PERSON_AND_ORGANIZATION_ASSIGNMENT ( #61, #76, ( #198 ) ) ;
#228 = ORIENTED_EDGE ( 'NONE', *, *, #80, .T. ) ;
#229 = DIRECTION ( 'NONE', ( 1.000000000000000000, 0.0000000000000000000, 0.0000000000000000000 ) ) ;
#230 = COORDINATED_UNIVERSAL_TIME_OFFSET ( 0, 0, .AHEAD. ) ;
#231 = CARTESIAN_POINT ( 'NONE', ( 0.0000000000000000000, 0.0000000000000000000, 0.0000000000000000000 ) ) ;
#232 = APPROVAL_STATUS ( 'not_yet_approved' ) ;
#233 = DIRECTION ( 'NONE', ( 1.000000000000000000, 0.0000000000000000000, 0.0000000000000000000 ) ) ;
#234 = ORIENTED_EDGE ( 'NONE', *, *, #209, .F. ) ;
#235 = CARTESIAN_POINT ( 'NONE', ( -1.000000000000000000, -1.000000000000000000, 0.0000000000000000000 ) ) ;
#236 = PERSON_AND_ORGANIZATION ( #222, #18 ) ;
#237 = VECTOR ( 'NONE', #66, 1.000000000000000000 ) ;
#238 = LINE ( 'NONE', #235, #261 ) ;
#239 = EDGE_CURVE ( 'NONE', #270, #52, #193, .T. ) ;
#240 = ORIENTED_EDGE ( 'NONE', *, *, #37, .F. ) ;
#241 = LOCAL_TIME ( 11, 16, 3.000000000000000000, #35 ) ;
#242 = CARTESIAN_POINT ( 'NONE', ( -1.000000000000000000, 1.000000000000000000, 0.0000000000000000000 ) ) ;
#243 = LINE ( 'NONE', #134, #147 ) ;
#244 = EDGE_CURVE ( 'NONE', #43, #142, #98, .T. ) ;
#245 = DIRECTION ( 'NONE', ( 1.000000000000000000, 0.0000000000000000000, -0.0000000000000000000 ) ) ;
#246 = PLANE ( 'NONE', #70 ) ;
#247 = FACE_BOUND ( 'NONE', #27, .T. ) ;
#248 = DIRECTION ( 'NONE', ( 1.000000000000000000, 0.0000000000000000000, 0.0000000000000000000 ) ) ;
#249 = ORIENTED_EDGE ( 'NONE', *, *, #239, .F. ) ;
#250 = APPROVAL ( #135, 'UNSPECIFIED' ) ;
#251 = PLANE ( 'NONE', #285 ) ;
#252 = DIRECTION ( 'NONE', ( 1.000000000000000000, 0.0000000000000000000, 0.0000000000000000000 ) ) ;
#253 = PERSON_AND_ORGANIZATION_ROLE ( 'creator' ) ;
#254 = APPLICATION_PROTOCOL_DEFINITION ( 'international standard', 'config_control_design', 1994, #30 ) ;
#255 = FACE_OUTER_BOUND ( 'NONE', #196, .T. ) ;
#256 = FACE_OUTER_BOUND ( 'NONE', #7, .T. ) ;
#257 = DIRECTION ( 'NONE', ( 1.000000000000000000, 0.0000000000000000000, 0.0000000000000000000 ) ) ;
#258 = AXIS2_PLACEMENT_3D ( 'NONE', #40, #245, #123 ) ;
#259 = APPROVAL_ROLE ( '' ) ;
#260 = PERSON_AND_ORGANIZATION_ROLE ( 'creator' ) ;
#261 = VECTOR ( 'NONE', #210, 1.000000000000000000 ) ;
#262 = CLOSED_SHELL ( 'NONE', ( #121, #2, #39, #60, #21, #226, #221, #154 ) ) ;
#263 = EDGE_CURVE ( 'NONE', #283, #52, #238, .T. ) ;
#264 = CALENDAR_DATE ( 2016, 10, 2 ) ;
#265 = LINE ( 'NONE', #271, #55 ) ;
#266 = CC_DESIGN_PERSON_AND_ORGANIZATION_ASSIGNMENT ( #49, #53, ( #192 ) ) ;
#267 = VERTEX_POINT ( 'NONE', #189 ) ;
#268 = COORDINATED_UNIVERSAL_TIME_OFFSET ( 0, 0, .AHEAD. ) ;
#269 = LINE ( 'NONE', #88, #14 ) ;
#270 = VERTEX_POINT ( 'NONE', #164 ) ;
#271 = CARTESIAN_POINT ( 'NONE', ( -1.000000000000000000, -1.000000000000000000, 0.7500000000000000000 ) ) ;
#272 = MANIFOLD_SOLID_BREP ( 'Combine1', #262 ) ;
#273 = AXIS2_PLACEMENT_3D ( 'NONE', #155, #3, #20 ) ;
#274 = EDGE_LOOP ( 'NONE', ( #234, #144, #120, #15 ) ) ;
#275 = CC_DESIGN_APPROVAL ( #201, ( #192 ) ) ;
#276 = DIRECTION ( 'NONE', ( 1.000000000000000000, 0.0000000000000000000, 0.0000000000000000000 ) ) ;
#277 = DIRECTION ( 'NONE', ( 1.000000000000000000, 0.0000000000000000000, 0.0000000000000000000 ) ) ;
#278 = CARTESIAN_POINT ( 'NONE', ( 0.0000000000000000000, 0.0000000000000000000, 0.0000000000000000000 ) ) ;
#279 = SPHERICAL_SURFACE ( 'NONE', #99, 0.2500000000000000000 ) ;
#280 = ORIENTED_EDGE ( 'NONE', *, *, #287, .F. ) ;
#281 = CARTESIAN_POINT ( 'NONE', ( 0.0000000000000000000, 0.0000000000000000000, 0.0000000000000000000 ) ) ;
#282 = APPROVAL_ROLE ( '' ) ;
#283 = VERTEX_POINT ( 'NONE', #138 ) ;
#284 = SECURITY_CLASSIFICATION_LEVEL ( 'unclassified' ) ;
#285 = AXIS2_PLACEMENT_3D ( 'NONE', #48, #108, #229 ) ;
#286 = LINE ( 'NONE', #28, #32 ) ;
#287 = EDGE_CURVE ( 'NONE', #83, #267, #101, .T. ) ;
#288 = CIRCLE ( 'NONE', #158, 0.2500000000000000000 ) ;
#289 = PERSON_AND_ORGANIZATION ( #222, #18 ) ;
#290 = DATE_AND_TIME ( #117, #13 ) ;
#291 = VECTOR ( 'NONE', #178, 1.000000000000000000 ) ;
#292 = EDGE_CURVE ( 'NONE', #161, #267, #110, .T. ) ;
#293 = EDGE_LOOP ( 'NONE', ( #58, #87, #24 ) ) ;
ENDSEC;
END-ISO-10303-21;
<NEKTAR>
<CONDITIONS>
<SOLVERINFO>
<I PROPERTY="CADFile" VALUE="sphere.STEP" />
<I PROPERTY="MeshType" VALUE="Euler" />
</SOLVERINFO>
<PARAMETERS>
<P> MinDelta = 0.01 </P>
<P> MaxDelta = 0.2 </P>
<P> EPS = 0.01 </P>
<P> Order = 4 </P>
<P> BLThick = 0.02 </P>
</PARAMETERS>
</CONDITIONS>
</NEKTAR>
<?xml version="1.0" encoding="utf-8" ?>
<test>
<description>Simple geometry with sphere</description>
<executable>NekMesh</executable>
<parameters>-m jac:list sphere.mcf sphere.xml:xml:test</parameters>
<files>
<file description="Input File">sphere.mcf</file>
<file description="Input File 2">sphere.STEP</file>
</files>
<metrics>
<metric type="regex" id="1">
<regex>^Total negative Jacobians: (\d+)</regex>
<matches>
<match>
<field id="0">0</field>
</match>
</matches>
</metric>
</metrics>
</test>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment