On Mon, Jul 27, 2015 at 12:27 PM, Sahai, Amal <[email protected]> wrote:
> I tried running the following loop for all elements: > > const Elem* elem = *el; > elem->subdomain_id() = 2.; > You can't set subdomain id on a constant Elem... you need to catch the dereferenced pointer as non-const, i.e. Elem* elem = *el; -- John ------------------------------------------------------------------------------ _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
