Skip to content

Evaluate basis at given points #882

Answered by joostvanzwieten
IvanBioli asked this question in Q&A
Discussion options

You must be logged in to vote

You can create a sample with the desired points using Topology.locate(). Continuing your example:

smpl = domain.locate(geom, [[0.5, 0.5], [0.25, 0.25]], tol=1e-10)
smpl.eval(basis[1])

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@IvanBioli
Comment options

@joostvanzwieten
Comment options

Answer selected by joostvanzwieten
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants