Skip to content

Potential mistake in Blocking2D structure when a new block is created #340

@claireroche

Description

@claireroche

In the Blocking2D.cpp of folder ig/src ,

  1. When we want to create a block using newBlock function, I think there is a mistake while updating the connectivities.

I think lines 95-96:
Node n3 = get<Node>(AN3); n1.add(b);

should be replace by
Node n3 = get<Node>(AN3); n3.add(b);

  1. I think there is a second mistake, at l. 898:
    for(int j = 0; j<getNbDiscretizationI(); j++){

the limit should be on getNbDiscretizationJ()

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions