triqs::gfs::gf::operator=

#include <triqs/gfs/gf.hpp>

Synopsis

  1. gf<M, Target, Layout> & operator= (gf<M, Target, Layout> const & rhs)
  2. gf<M, Target, Layout> & operator= (gf<M, Target, Layout> && rhs) noexcept
  3. template<typename RHS>
    gf<M, Target, Layout> & operator= (RHS && rhs)
  4. gf<M, Target, Layout> & operator= (lazy<tag::reduce, gf_const_view<M, Target>> l)
  5. gf<M, Target, Layout> & operator= (lazy<tag::scatter, gf_const_view<M, Target>> l)
  6. gf<M, Target, Layout> & operator= (lazy<tag::gather, gf_const_view<M, Target>> l)

Documentation

3)

The assignment resizes the mesh and the data, invalidating all pointers on them.

4) Performs MPI reduce

5) Performs MPI scatter

6) Performs MPI gather

Template parameters

  • RHS Type of the right hand side rhs. Must model GreenFunction concept.

    RHS can be anything modeling the gf concept TBW In particular lazy expression with Green functions

Parameters

  • rhs

  • l The lazy object returned by mpi::reduce

Error

File not found

Example file /src/triqs/doc/documentation/examples/triqs/gfs/gf_assign_0.cpp not found