Region-specific node values of a variable
![](https://secure.gravatar.com/avatar/3d036a72812ba5a36d95cbba32854b7e.jpg?s=120&d=mm&r=g)
I'm just starting to use this package, and I'm enjoying it so far. I'm working on a problem where two adjacent regions share an interface, and I would like to list variable values at the actual nodes along the interface in each region. Is there an easy way to do this?
Regards, Mark
![](https://secure.gravatar.com/avatar/27f6b03a726ccff3f7a5007b1df6bf8c.jpg?s=120&d=mm&r=g)
Hi Mark,
you are using building a script with the interactive commands, right? Then try using FieldVariable.get_state_in_region() - it returns the degrees of freedom in a given region.
If it does not help, try to describe more what you need.
r.
On 04/14/2015 05:20 AM, Mark Davis wrote:
I'm just starting to use this package, and I'm enjoying it so far. I'm working on a problem where two adjacent regions share an interface, and I would like to list variable values at the actual nodes along the interface in each region. Is there an easy way to do this?
Regards, Mark
![](https://secure.gravatar.com/avatar/3d036a72812ba5a36d95cbba32854b7e.jpg?s=120&d=mm&r=g)
Robert,
This works perfectly--I can't believe I missed it!
Mark
On Tuesday, April 14, 2015 at 1:04:54 AM UTC-5, Mark Davis wrote:
I'm just starting to use this package, and I'm enjoying it so far. I'm working on a problem where two adjacent regions share an interface, and I would like to list variable values at the actual nodes along the interface in each region. Is there an easy way to do this?
Regards, Mark
![](https://secure.gravatar.com/avatar/27f6b03a726ccff3f7a5007b1df6bf8c.jpg?s=120&d=mm&r=g)
Hth! The function is easily missed in the online docs, as it has no docstring :]. I will fix that.
r.
On 04/14/2015 06:36 PM, Mark Davis wrote:
Robert,
This works perfectly--I can't believe I missed it!
Mark
On Tuesday, April 14, 2015 at 1:04:54 AM UTC-5, Mark Davis wrote:
I'm just starting to use this package, and I'm enjoying it so far. I'm working on a problem where two adjacent regions share an interface, and I would like to list variable values at the actual nodes along the interface in each region. Is there an easy way to do this?
Regards, Mark
participants (2)
-
Mark Davis
-
Robert Cimrman