> So from your second paragraph, I'm not even sure if I can do the > following (which is different than the situation i posed below) - I > solve a system of 2 equations (for u and v) and I use an FESystem: > > FESystem<2> fe_vel (FE_Q<2>(1), 2); > > And now i want to use that as a member of a collection : > > hp::FECollection col; > col.push_back (FESystem<2> (FE_Q<2>(1), 2)); > col.push_back ([something else]); > > ... can i not do this either???
You can. You can think of a FECollection as similar to std::set<FiniteElement*> if you want. You can push anything that's derived from FiniteElement into the collection, but you can't have a FESystem where one of the components is a FECollection because FECollection is not derived from FiniteElement. Best W. ------------------------------------------------------------------------- Wolfgang Bangerth email: [email protected] www: http://www.math.tamu.edu/~bangerth/ _______________________________________________ dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
