Re: [deal.II] Re: Proper use of CompositionManifold

2016-09-22 Thread Praveen C
Thanks Luca. I have been looking at tests also. For CompositionManifold, if H = CompositionManifold(F, G) then H_pullback = F_pullback * G_pullback H_pushforward = G_pushforward * F_pushforward I think adding this to documentation will improve the description. Also this line dim1 The dimens

Re: [deal.II] Re: Proper use of CompositionManifold

2016-09-21 Thread luca.heltai
For future reference, if you are in doubt on how to use a single class/function, you can skim through the directory tests, i.e., tests/manifold/composition_manifold_* would have shown to you an example which is identical to what you are trying to achieve, and in general it contains very simple

[deal.II] Re: Proper use of CompositionManifold

2016-09-21 Thread Praveen C
I was making a mistake. Reading the code of CompositionManifold clarified it. This is correct static const PolarManifold<2,3> sphere; static const FunctionManifold<3,3,3> rotate("x;-z;y","x;z;-y"); static const CompositionManifold<2,3,3,3,2,3> rotated_sphere(sphere, rotate);

[deal.II] Re: Proper use of CompositionManifold

2016-09-21 Thread Praveen C
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 dimensi