Coder Social home page Coder Social logo

Comments (3)

ibaned avatar ibaned commented on August 14, 2024

The reason it has very little code in it is that the "int node" argument is actually indexing the interior nodes of the entity. So, for quadratic Lagrange, the only valid queries are interior node #0 of a vertex, or interior node #0 of an edge, i.e. the mid-edge node. I may be forgetting all the code I've written, but I don't think there is a function for indexing over all the nodes in the closure. Most Finite Element code starts with the Xi of a quadrature point as input and evaluates shape functions, so this otherwise simple functionality has so far been left out.

from core.

ibaned avatar ibaned commented on August 14, 2024

Could you give some background on why you're making this query in your code ? I know its a simple one but it would be a bunch of new tables somewhere so I'd like to know the use case.

from core.

YetAnotherMinion avatar YetAnotherMinion commented on August 14, 2024

I was looking for a way to display the stress and strain fields using Paraview. In order to use the built in rendering/warp vector, I need to find the stress and strain for the element nodes in global coordinate space. This way I can write the output.I looked at using the IPShape field to store the output variables, but it creates many different fields and I can only warp vector or color with one of them. Thus I was motivated to evaluate the secondary variables at the node points.

I can create a table in my application code to give me the locations of the nodes for all of my supported shape functions, but I wanted to see if there was a feature of the API that would do this for me. getNodeXi sounded exactly like what I wanted to do, but I understand now the intended use. Thanks for the quick response!

from core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.