Re: [Libmesh-users] subdomain dependent properties

2012-01-16 Thread Roy Stogner
> 1- If there is any way around adding tensor components as scalars to > EquationSystems::Parameters? I'm not sure but can I add a custom > type as a parameter? You ought to be able to add any type, yes. > 2- Is there a way to work with Parameters without using their string > names? (some sort o

Re: [Libmesh-users] subdomain dependent properties

2012-01-16 Thread Ataollah Mesgarnejad
On Jan 16, 2012, at 11:59 AM, Roy Stogner wrote: > > If you want a per-subdomain tensor as a property that gets saved in > your output file... a separate ExplicitSystem with a SCALAR variable > for each independent tensor element, maybe? This one seems to be excessive since I'll need to create

Re: [Libmesh-users] subdomain dependent properties

2012-01-16 Thread Roy Stogner
If you want a per-subdomain tensor as a property that gets saved in your output file... a separate ExplicitSystem with a SCALAR variable for each independent tensor element, maybe? If you just want it as a property for use in your assembly, I'd just do a switch test on the subdomain id to determ

[Libmesh-users] subdomain dependent properties

2012-01-16 Thread Ataollah Mesgarnejad
Dear all, I'm looking for the best way to implement a rank 4 symmetric tensor as a subdomain property? I asked similar question for implementing an element dependent property some time ago and someone recommended adding an ExplicitSystem to the EquationSystems; this seems to be excessive for th