15#ifndef dealii_composition_manifold_h
16#define dealii_composition_manifold_h
70 int intermediate_dim = dim,
85 virtual std::unique_ptr<Manifold<dim, spacedim>>
86 clone()
const override;
136 int intermediate_dim,
142 :
ChartManifold<dim, spacedim, chartdim>(F.get_periodicity())
148 Assert(
G.get_periodicity().norm() == 0.0,
149 ExcMessage(
"The second manifold cannot be periodic."));
156 int intermediate_dim,
159std::unique_ptr<Manifold<dim, spacedim>>
163 return std::make_unique<
172 int intermediate_dim,
179 return F->pull_back(G->pull_back(space_point));
187 int intermediate_dim,
194 return G->push_forward(F->push_forward(chart_point));
202 int intermediate_dim,
210 F->push_forward_gradient(chart_point);
213 G->push_forward_gradient(F->push_forward(chart_point));
217 for (
unsigned int d = 0; d < spacedim; ++d)
218 for (
unsigned int c = 0; c < chartdim; ++c)
219 for (
unsigned int s = 0; s < intermediate_dim; ++s)
220 DF_DG[d][c] += DG[d][s] * DF[s][c];
virtual Point< chartdim > pull_back(const Point< spacedim > &space_point) const
virtual Point< spacedim > push_forward(const Point< chartdim > &chart_point) const
CompositionManifold(const ChartManifold< dim1, intermediate_dim, chartdim > &F, const ChartManifold< dim2, spacedim, intermediate_dim > &G)
virtual std::unique_ptr< Manifold< dim, spacedim > > clone() const override
virtual DerivativeForm< 1, chartdim, spacedim > push_forward_gradient(const Point< chartdim > &chart_point) const
SmartPointer< const ChartManifold< dim2, spacedim, intermediate_dim >, CompositionManifold< dim, spacedim, chartdim, dim1, dim2, intermediate_dim > > G
SmartPointer< const ChartManifold< dim1, intermediate_dim, chartdim >, CompositionManifold< dim, spacedim, chartdim, dim1, dim2, intermediate_dim > > F
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
#define Assert(cond, exc)
static ::ExceptionBase & ExcMessage(std::string arg1)