Comments (5)
It is due to the zero-knot span elements that are genereted due to the C^0 lines in the first model. These "elements" are ignored during the numerical integration, but not when calculating the total number of quadrature points in the model. Therefore this value is misleading in this case.
It has to be like this, I think, as the FiniteDeformation classes that uses this to allocate internal gauss point buffers, also assumes that the zero-span elements have been allocated alllthough they are not processed (for implementation convenience).
Bonus answer: The multi-patch ModelGenerators has not been included in the Elasticity solvers to this point, think that was something added mainly for the (Navier)Stokes solvers,
from ifem-elasticity.
Apperently this is because it counts the "zero-knot-span" elements when evaluating the number of gauss points. The knot vector is [0 0 0 1 1 2 2 3 3 3] (i.e. 5 quadratic elements, including zero-size) in one direction and [0 0 1 2 3 3] (i.e. 3 linear elements) and then all elements are split into 8x8 new ones. The zero-size elements (6 of them) are only split in the linear direction, and will thus only make 8 new elements.
Total non-degenerate elements: 3x3x8x8 = 576
Total zero-area elements: 6*8 = 48
Total gauss points = (48 + 576)*16 = 9984
This only happens for the single-patch version as zero-area knots on patch boundaries are ignored.
I don't know if this is causing any subsequent follow-up errors or if we can safely ignore it. I'll leave that up to @akva2 and @kmokstad to decide.
from ifem-elasticity.
I think it is safe to ignore it. As I said, the calculated value is only used to allocate internal buffers for those integrands that needs that (mainly those with nonlinear material properties). In the worst case you then only allocate a larger buffer than strictly needed, but never too small.
from ifem-elasticity.
If it is safe to ignore it, then feel free to close the issue.
from ifem-elasticity.
No bug, but a harmless feature of the internal C0-lines
from ifem-elasticity.
Related Issues (2)
- Segfault on -ignoreSol HOT 1
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 ifem-elasticity.