#include <grid_periodic_hills.h>
template<int dim, int spacedim>
class PeriodicHillsPullBack< dim, spacedim >
Definition at line 125 of file grid_periodic_hills.h.
◆ PeriodicHillsPullBack()
template<int dim, int spacedim>
◆ value()
template<int dim, int spacedim>
| double PeriodicHillsPullBack< dim, spacedim >::value |
( |
const Point< spacedim > & | np, |
|
|
const unsigned int | component ) const |
|
overridevirtual |
◆ vector_value()
template<int dim, int spacedim>
| void PeriodicHillsPullBack< dim, spacedim >::vector_value |
( |
const Point< spacedim > & | np, |
|
|
Vector< double > & | values ) const |
|
overridevirtual |
vector_value. This vector_value function is used to construct the geometry manifold. It changes the new point (np) of the hill grid to the original point (op) of the transformed hyper_rectangle grid. This function is mandatory to use FunctionManifold. First, it finds the minimum value of y depending the x position and then calculates the op with the inverse of the transformation done by hill_geometry function.
- Parameters
-
| np. | A point in space. |
| values. | The vector of values which will be calculated at the position p. |
Definition at line 64 of file grid_periodic_hills.cc.
References alpha, GridPeriodicHills< dim, spacedim >::hill_geometry(), and spacing_y.
◆ alpha
template<int dim, int spacedim>
◆ spacing_y
template<int dim, int spacedim>
The documentation for this class was generated from the following files: