concepts::Symmetry< Quad > Class Reference

Specialized template for quadrilaterons. More...

#include <symmetry.hh>

Public Member Functions

Real2d evaluate (const Real2d p)
 Evaluation. More...
 
Real2d evaluateInverse (const Real2d p)
 Evaluation of the inverse. More...
 
void operator= (const Symmetry< Quad > &other)
 Copy constructor with operator =. More...
 
 Symmetry (const std::array< Z2, 3 > value)
 Constructor with given value. More...
 
 Symmetry (const Symmetry< Quad > &other)
 Copy constructor. More...
 
 Symmetry (const Z2 ix, const Z2 iy, const Z2 ip)
 Constructor with given indexes. More...
 

Protected Attributes

std::array< Z2, 3 > value_
 

Friends

Symmetry< Quadoperator* (const Symmetry< Quad > &i, const Symmetry< Quad > &j)
 Composition operator. More...
 

Detailed Description

Specialized template for quadrilaterons.

This object represents the symmetry transformation group on the canonical quadrilateron $(0,1)^2$

value_ is a $(\mathbb{Z}/2\mathbb{Z})^3$ whose values are respectively

  • the presence of the symmetry $S_x$ with respect to the line $x=0.5$,
  • the presence of the symmetry $S_y$ with respect to the line $y=0.5$,
  • the presence of the symmetry $S_p$ with respect to the line $y=x$ (that corresponds to coordinate permutations).

Definition at line 76 of file symmetry.hh.

Constructor & Destructor Documentation

◆ Symmetry() [1/3]

concepts::Symmetry< Quad >::Symmetry ( const std::array< Z2, 3 >  value)
inline

Constructor with given value.

Definition at line 79 of file symmetry.hh.

◆ Symmetry() [2/3]

concepts::Symmetry< Quad >::Symmetry ( const Z2  ix,
const Z2  iy,
const Z2  ip 
)
inline

Constructor with given indexes.

Definition at line 81 of file symmetry.hh.

◆ Symmetry() [3/3]

concepts::Symmetry< Quad >::Symmetry ( const Symmetry< Quad > &  other)
inline

Copy constructor.

Definition at line 88 of file symmetry.hh.

Member Function Documentation

◆ evaluate()

Real2d concepts::Symmetry< Quad >::evaluate ( const Real2d  p)
inline

Evaluation.

Definition at line 109 of file symmetry.hh.

◆ evaluateInverse()

Real2d concepts::Symmetry< Quad >::evaluateInverse ( const Real2d  p)
inline

Evaluation of the inverse.

Definition at line 124 of file symmetry.hh.

◆ operator=()

void concepts::Symmetry< Quad >::operator= ( const Symmetry< Quad > &  other)
inline

Copy constructor with operator =.

Definition at line 90 of file symmetry.hh.

Friends And Related Function Documentation

◆ operator*

Symmetry<Quad> operator* ( const Symmetry< Quad > &  i,
const Symmetry< Quad > &  j 
)
friend

Composition operator.

Definition at line 92 of file symmetry.hh.

Member Data Documentation

◆ value_

std::array<Z2, 3> concepts::Symmetry< Quad >::value_
protected

Definition at line 139 of file symmetry.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich