// P4 module-packages CI:vde-cae 消费者 smoke(box → 四面体 FEA 网格) #include "vde/brep/modeling.h" #include "vde/cae/fea_mesh.h" #include int main() { const auto box = vde::brep::make_box(10.0, 20.0, 30.0); const vde::mesh::FEAMesh mesh = vde::mesh::tetrahedral_mesh(box); const bool ok = box.num_faces() == 6 && mesh.num_vertices() > 0 && mesh.num_elements() > 0; std::printf("CAE_CONSUMER_%s faces=%zu vertices=%zu elements=%zu\n", ok ? "PASS" : "FAIL", box.num_faces(), mesh.num_vertices(), mesh.num_elements()); return ok ? 0 : 1; }