Use a constant monomial variable:

add_variable ("variable_name", CONSTANT, MONOMIAL);



On 04/24/2012 10:13 AM, 蔡园武 wrote:
> Hello,
> We can use ExplicitSystem::add_variable to add non-solution variable to
> store my data, but this variable in based on nodes, and has size of n_node.
> But if I want to add variable related to element, and has size of n_elem,
> how to do that?
> Thanks!
>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to