TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
Loading...
Searching...
No Matches
Product meshes

Detailed Description

Mesh types for products of meshes.

Classes

class  triqs::mesh::prod< Ms >
 Product mesh type for combining multiple meshes. More...
class  triqs::mesh::prod_mesh_point< Ms >
 Mesh point type for the triqs::mesh::prod mesh. More...

Functions

template<Mesh L, Mesh R>
auto triqs::mesh::operator* (L const &m, R const &n)
 Multiplication operator for two single meshes.
template<Mesh L, Mesh... Rs>
auto triqs::mesh::operator* (L const &n, prod< Rs... > const &m)
 Multiplication operator for a single mesh and a product mesh.
template<Mesh... Ls, Mesh... Rs>
auto triqs::mesh::operator* (prod< Ls... > const &m, prod< Rs... > const &n)
 Multiplication operator for two product meshes.
template<Mesh... Ls, Mesh R>
auto triqs::mesh::operator* (prod< Ls... > const &m, R const &n)
 Multiplication operator for a product mesh and a single mesh.

Function Documentation

◆ operator*() [1/4]

template<Mesh L, Mesh R>
auto triqs::mesh::operator* ( L const & m,
R const & n )

#include <triqs/mesh/prod.hpp>

Multiplication operator for two single meshes.

Template Parameters
LMesh type of the left-hand side mesh.
RMesh type of the right-hand side mesh.
Parameters
mLeft-hand side mesh \( M \).
nRight-hand side mesh \( N \).
Returns
A product mesh containing both meshes as components, i.e. \( M \times N \).

Definition at line 411 of file prod.hpp.

◆ operator*() [2/4]

template<Mesh L, Mesh... Rs>
auto triqs::mesh::operator* ( L const & n,
prod< Rs... > const & m )

#include <triqs/mesh/prod.hpp>

Multiplication operator for a single mesh and a product mesh.

Template Parameters
LMesh type of the left-hand side single mesh.
RsMesh types of the right-hand side product mesh.
Parameters
nLeft-hand side single mesh \( N \).
mRight-hand side product mesh \( M = M_1 \times \dots \times M_k \).
Returns
A product mesh containing the single mesh as well as the components of the product meshes, i.e. \(N \times M_1 \times \dots \times M_k \).

Definition at line 384 of file prod.hpp.

◆ operator*() [3/4]

template<Mesh... Ls, Mesh... Rs>
auto triqs::mesh::operator* ( prod< Ls... > const & m,
prod< Rs... > const & n )

#include <triqs/mesh/prod.hpp>

Multiplication operator for two product meshes.

Template Parameters
LsMesh types of the left-hand side product mesh.
RsMesh types of the right-hand side product mesh.
Parameters
mLeft-hand side product mesh, i.e. \( M_1 \times \dots \times M_k \).
nRight-hand side product mesh, i.e. \( N_1 \times \dots \times N_l \).
Returns
A product mesh containing the components of both meshes, i.e. \( M_1 \times \dots \times M_k \times N_1 \times \dots \times N_l \).

Definition at line 370 of file prod.hpp.

◆ operator*() [4/4]

template<Mesh... Ls, Mesh R>
auto triqs::mesh::operator* ( prod< Ls... > const & m,
R const & n )

#include <triqs/mesh/prod.hpp>

Multiplication operator for a product mesh and a single mesh.

Template Parameters
LsMesh types of the left-hand side product mesh.
RMesh type of the right-hand side single mesh.
Parameters
mLeft-hand side product mesh \( M = M_1 \times \dots \times M_k \).
nRight-hand side single mesh \( N \).
Returns
A product mesh containing the components of the product meshes as well as the single mesh, i.e. \( M_1 \times \dots \times M_k \times N \).

Definition at line 398 of file prod.hpp.