template<int dim, int spacedim>
class PeriodicHillsPushForward< dim, spacedim >
The push_forward & the pull_back classes create the vector_value functions gradient function and because it inherits from Function<spacedim>. (formula is currently Euler and can be changed. See AutoDerivativeFunction documentation).
Definition at line 85 of file grid_periodic_hills.h.
template<int dim, int spacedim>
| double PeriodicHillsPushForward< dim, spacedim >::value |
( |
const Point< spacedim > & | p, |
|
|
const unsigned int | component ) const |
|
overridevirtual |
template<int dim, int spacedim>
| void PeriodicHillsPushForward< dim, spacedim >::vector_value |
( |
const Point< spacedim > & | p, |
|
|
Vector< double > & | values ) const |
|
overridevirtual |
vector_value. This function is used to construct the geometry manifold. It changes the original point (op) of the transformed hyper_rectangle with hill_geometry to a new point (np) of the hill grid with per_hills_grid function.
- Parameters
-
| p. | A point in space |
| values. | The vector of values which will be calculated at the position p. |
Definition at line 35 of file grid_periodic_hills.cc.
References alpha, GridPeriodicHills< dim, spacedim >::hill_geometry(), and spacing_y.