Region-specific node values of a variable
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
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
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
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