Hello I think I understand this better after reading the code. Here is my attempt
static const PolarManifold<2,3> sphere; static const FunctionManifold<3,3,3> rotate("x,-z,y","x,z,-y"); static CompositionManifold<2,3,2,3,3,3> surface(sphere, rotate); I use dim=2 The dimension of the resulting ChartManifold <http://www.dealii.org/developer/doxygen/deal.II/classChartManifold.html> spacedim=3 The space dimension of the resulting ChartManifold <http://www.dealii.org/developer/doxygen/deal.II/classChartManifold.html> chartdim=2 The chart dimension of the resulting ChartManifold <http://www.dealii.org/developer/doxygen/deal.II/classChartManifold.html> intermediate_dim=3 The space dimension of the first ChartManifold <http://www.dealii.org/developer/doxygen/deal.II/classChartManifold.html> dim1=3 The dimension of the first ChartManifold <http://www.dealii.org/developer/doxygen/deal.II/classChartManifold.html>, which coincides also with the chart dimension of the second ChartManifold <http://www.dealii.org/developer/doxygen/deal.II/classChartManifold.html> dim2=3 The dimension of the second ChartManifold <http://www.dealii.org/developer/doxygen/deal.II/classChartManifold.html> This gives following error */Users/praveen/Applications/dgswm/src/swm.cc:279:47: **error: **no matching* * constructor for initialization of 'CompositionManifold<2, 3, 2, 3, 3, 3>'* static CompositionManifold<2,3,2,3,3,3> surface(sphere, rotate); * ^ ~~~~~~~~~~~~~~* */Users/praveen/Applications/deal.II/git/install/include/deal.II/grid/composition_manifold.h:75:3: note: * candidate constructor not viable: no known conversion from 'const PolarManifold<2, 3>' to 'const ChartManifold<3, 3, 2>' for 1st argument CompositionManifold(const ChartManifold<dim1, intermediate_dim, chartdim> &F, * ^* */Users/praveen/Applications/deal.II/git/install/include/deal.II/grid/composition_manifold.h:68:7: note: * candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided class CompositionManifold : public ChartManifold<dim, spacedim, chartdim> * ^* */Users/praveen/Applications/deal.II/git/install/include/deal.II/grid/composition_manifold.h:68:7: note: * candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided Thanks praveen -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.