[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Getfem-users] Error occuer when using add_point in 1D mesh

From: Yves Renard
Subject: Re: [Getfem-users] Error occuer when using add_point in 1D mesh
Date: Mon, 28 Jan 2019 13:17:07 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

Dear Tetsuo,

I think that the problem come from the fact that an initialisation


is understand as


i.e. converting the float in integer and gives a zero size point ...

Best regards,


Le 28/01/2019 à 11:16, Tetsuo Koyama a écrit :
Dear GetFEM++ Project

Thank you for useful mesh build library in GetFEM++.
I'm wondering error occured when using add_point for 1D mesh.
I checked newest git repository version and version 5.3.
I want to confirm that it is bug or not. Please check if it is my
mistake of use or specification of library.
If it is bug, I'll fix it myself for my study.

Code is...

getfem::mesh mymesh;
std::vector<bgeot::size_type> ind(3);
ind[0] = mymesh.add_point(bgeot::base_node(0.0));
ind[1] = mymesh.add_point(bgeot::base_node(1.0));
ind[2] = mymesh.add_point(bgeot::base_node(2.0));

Error is...

terminate called after throwing an instance of 'gmm::gmm_error'
   what():  Error in, line 106 gmm::size_type
bgeot::node_tab::add_node(const base_node&, bgeot::scalar_type, bool):
Nodes should have the same dimension
Aborted (core dumped)

Best Regard Tetsuo.


  Yves Renard (address@hidden)       tel : (33)
  20, rue Albert Einstein
  69621 Villeurbanne Cedex, FRANCE


reply via email to

[Prev in Thread] Current Thread [Next in Thread]