I.e. I should call the function like
const std::vector locally_owned_vertices =
get_locally_owned_vertices(triangulation);
GridTools::transform (std::bind(::MinimalSurfaceProblem::
rescale_body_length, this, std::placeholders::_1), triangulation);
Maxi
Furthermore I tested the transform-function, and got the following error:
> ~/heat_equation_with_pulse_propagation/heat_equation/source/main.cpp:1648:
> 26: error: no matching function for call to ‘transform(std::_Bind_helper<
> false, dealii::Point<2, double>
The class has this member function, but it can not copy refined grids, thus
making it unusable for me.
Furthermore I tested the transform-function, and got the following error:
~/heat_equation_with_pulse_propagation/heat_equation/source/main.cpp:1648:26
: error: no matching function for call to
On 05/04/2018 02:34 AM, 'Maxi Miller' via deal.II User Group wrote:
I would like to use a temporary triangulation, in order to keep the
triangulation I am working on untouched. Is there a way to copy the
triangulation (defined as parallel::distributed::Triangulation) to a
temporary
I would like to use a temporary triangulation, in order to keep the
triangulation I am working on untouched. Is there a way to copy the
triangulation (defined as parallel::distributed::Triangulation) to a
temporary triangulation? According to
On 05/02/2018 02:36 AM, 'Maxi Miller' via deal.II User Group wrote:
When rewriting the equation into a unitless equation, I also scale the
area size onto a square defined by p1_u and p2_u. That means that I have
to rescale it back to the original size when doing a gradient
calculation, when
When rewriting the equation into a unitless equation, I also scale the area
size onto a square defined by p1_u and p2_u. That means that I have to
rescale it back to the original size when doing a gradient calculation,
when doing a calculation for a function depending on the position, and when
Maxi,
Am Dienstag, 1. Mai 2018 13:39:58 UTC+2 schrieb Maxi Miller:
>
> I tried to make my equation unitless, in order to make calculations
> easier. For that I also had to rescale the boundaries, defined by p1 =
> Point(x0, y0) and p2 = Point(x1, y1) to p1_u = Point(0, 0)
> and p2_u = Point(1,