update 2.0

This commit is contained in:
张壹 2025-04-23 14:05:58 +08:00
parent 00c6a64d83
commit 3cabeba586
5 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.15.2)
#
project(GCTL_MESH VERSION 1.0)
project(GCTL_MESH VERSION 2.0)
#
include(CMakePackageConfigHelpers)

View File

@ -1,3 +1,3 @@
#define GCTL_MESH_INSTALL_PREFIX "/opt/stow/gctl_mesh"
#define GCTL_MESH_INSTALL_PREFIX "/usr/local"
#define GCTL_MESH_EXPRTK
#define GCTL_MESH_WAVELIB

View File

@ -30,7 +30,7 @@
#include "meshdata.h"
#include "gctl/io.h"
#include "gctl/algorithms.h"
#include "gctl/math.h"
namespace gctl
{

View File

@ -29,8 +29,8 @@
#define _GCTL_MESHDATA_H
#include "gctl_mesh_config.h"
#include "gctl/geometry/point3c.h"
#include "gctl/geometry/tensor.h"
#include "gctl/poly/point3c.h"
#include "gctl/poly/tensor.h"
namespace gctl
{

View File

@ -271,7 +271,7 @@ void gctl::regular_mesh_sph_3d::save_gmsh(std::string filename, index_packed_e p
gctl::array<vertex3dc> tmp_nodes(nodes.size());
for (int i = 0; i < nodes.size(); i++)
{
tmp_c = nodes[i].s2c();
tmp_c = s2c(nodes[i]);
tmp_nodes[i].id = i;
tmp_nodes[i].x = tmp_c.x;
tmp_nodes[i].y = tmp_c.y;