-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command line option --with-indices not working #7
Labels
Comments
Okay thanks for the issue. I get the following: {
"Elements" : [
{
"Name" : "",
"NodalConnectivity" : [
[ 1, 5, 4 ],
[ 3, 4, 5 ]
],
"Type" : 2
}
],
"Interface" : [
{
"GlobalStartId" : [ 0 ],
"Master" : [ 1 ],
"NodeIds" : [
[ 1, 3, 5 ]
],
"Slave" : [ 2 ],
"Value" : [ 1 ]
}
],
"LocalToGlobalMap" : [ 1, 3, 4, 5 ],
"Nodes" : [
{
"Coordinates" : [
[ 0, 0, 0 ],
[ 1, 1, 0 ],
[ 0, 1, 0 ],
[ 0.5, 0.5, 0 ]
]
}
],
"NumInterfaceNodes" : [ 3 ]
} for the first, and for the second partition {
"Elements" : [
{
"Name" : "",
"NodalConnectivity" : [
[ 1, 2, 5 ],
[ 2, 3, 5 ]
],
"Type" : 2
}
],
"Interface" : [
{
"GlobalStartId" : [ 0 ],
"Master" : [ 1 ],
"NodeIds" : [
[ 1, 3, 5 ]
],
"Slave" : [ 2 ],
"Value" : [ -1 ]
}
],
"LocalToGlobalMap" : [ 1, 2, 3, 5 ],
"Nodes" : [
{
"Coordinates" : [
[ 0, 0, 0 ],
[ 1, 0, 0 ],
[ 1, 1, 0 ],
[ 0.5, 0.5, 0 ]
]
}
],
"NumInterfaceNodes" : [ 3 ]
} With default arguments to the program. When I use --with-indices (with a patch) I get {
"Elements" : [
{
"Indices" : [ 2, 4 ],
"Name" : "",
"NodalConnectivity" : [
[ 1, 5, 4 ],
[ 3, 4, 5 ]
],
"Type" : 2
}
],
"Interface" : [
{
"GlobalStartId" : [ 0 ],
"Master" : [ 1 ],
"NodeIds" : [
[ 1, 3, 5 ]
],
"Slave" : [ 2 ],
"Value" : [ 1 ]
}
],
"LocalToGlobalMap" : [ 1, 3, 4, 5 ],
"Nodes" : [
{
"Coordinates" : [
[ 0, 0, 0 ],
[ 1, 1, 0 ],
[ 0, 1, 0 ],
[ 0.5, 0.5, 0 ]
],
"Indices" : [ 1, 3, 4, 5 ]
}
],
"NumInterfaceNodes" : [ 3 ]
} and {
"Elements" : [
{
"Indices" : [ 1, 3 ],
"Name" : "",
"NodalConnectivity" : [
[ 1, 2, 5 ],
[ 2, 3, 5 ]
],
"Type" : 2
}
],
"Interface" : [
{
"GlobalStartId" : [ 0 ],
"Master" : [ 1 ],
"NodeIds" : [
[ 1, 3, 5 ]
],
"Slave" : [ 2 ],
"Value" : [ -1 ]
}
],
"LocalToGlobalMap" : [ 1, 2, 3, 5 ],
"Nodes" : [
{
"Coordinates" : [
[ 0, 0, 0 ],
[ 1, 0, 0 ],
[ 1, 1, 0 ],
[ 0.5, 0.5, 0 ]
],
"Indices" : [ 1, 2, 3, 5 ]
}
],
"NumInterfaceNodes" : [ 3 ]
} Is this now the expected behaviour? |
Perfect 👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
Neither
nor
gives the expected result.
MWE
gmshMWE.msh
The text was updated successfully, but these errors were encountered: