Comments (11)
This should not happen, if the warning said it was not used, this will be the case. Please create a simple case to demonstrate this...
from csxcad.
At the moment I'm using pyems to generate the structure so the python interface is used. OpenEMS does not handle the xml file directly. Can you elaborate this with the geometry xml file AppCSXCAD is able to open?
from csxcad.
Yes, that would be enough... But please make it as simple/small as you can...
from csxcad.
This test file defines a cylinder and cylinders around it. Cylinder0 property is never used though it has enough mesh cells which should use this property.
from csxcad.
Well all "smaller" cylinder seem to have the same priority (-1). And the material "cylinder0" is overlapping "air" and thus these seem to loose the priority fight... Having objects in the same space with the same priority is considered undefined behavior ...
from csxcad.
Please make sure all overlapping objects have different/correct priorities. So this does not look to be related to the last patch?
from csxcad.
Maybe this is not related to the last commit but after the new compilation of openems this error occured. See the attached file. There are now very different priorities where no equal priority is overlapping. This results in the same behaviour. Why is it undefined behaviour when the same priority overlaps a mesh cell?
from csxcad.
Another example with cylindrical shells where the shell geometry is not touching the cylinder. The cylindrical shells are completely ignored by the simulation.
from csxcad.
Well I forgot that if you write the xml file with python it only contains the structure and not the openEMS simulation setup... So I cannot easily run it... I will see if I can get it working and can see the problem.
Can you maybe check if the commit you mentioned is the problem and reset CSXCAD to a version prio to it? And want to make sure that it is not this commit...
from csxcad.
Please give the latest version a test, there was a bug in the new bounding box algorithm. Cylinder0 does not complain anymore.
But the material "air" still does, is that correct?
Why is it undefined behaviour when the same priority overlaps a mesh cell?
If you have e.g. two objects in two different materials (properties) and they overlap and have the same priority, which one should be used? I am currently not sure which one will win this, because it will depend e.g. on the order of the objects or properties and such, but this may change or depend on other things. Therefore I consider it undefined.
I hope that clarifies it? See also here
from csxcad.
Please feel free to reopen if the issues is still unclear or unsolved
from csxcad.
Related Issues (18)
- Python interface in Python 3 crashes with: has no attribute '__reduce_cython__' HOT 6
- Build fails: Found relative path while evaluating include directories of "CSXCAD": HOT 1
- SmoothMeshLines2 division by zero messages HOT 1
- Installation problem HOT 2
- Reading Discrete Material fails with inappropriate type HOT 1
- compiling issue with vtk 9.0 HOT 3
- Python binding fails: Cython directive 'language_level' not set, using 2 for now (Py2); 'CSXCAD/CSXCAD/ContinuousStructure.pxd' not found; etc HOT 2
- libCSXCAD.so.0.6.2 doesn't have a SONAME
- Python binding fails to compile: CSXCAD/CSPrimitives.pxd:22:0: 'ParameterObjects.pxd' not found HOT 1
- Bug: Polyhedron IsInside() only works after calling Update()? HOT 4
- Understanding how primitives are picked up by mesh lines HOT 7
- configure looks for libpng, libjpeg, libtiff but they aren't used in build HOT 2
- The build doesn't link binaries with libhdf5.so HOT 7
- Building on Enterprise Linux 8 (RHEL/Alma/Oracle/Rocky)
- Python interface build process cannot find necessary headers
- Complete round-tripping CSXCAD files: Write2XML / ReadFromXML and CSPropLumpedElement vs LumpedPort
- INSTALL and CSXCAD.pro files not updated HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from csxcad.