Flow123d  release_2.1.0-87-gfbc1563
Classes | Functions
mapping.hh File Reference

Class Mapping calculates data related to the mapping of the reference cell to the actual cell, such as Jacobian and normal vectors. More...

#include <armadillo>
#include <vector>
#include "fem/dofhandler.hh"
#include "mesh/side_impl.hh"
#include "fem/update_flags.hh"
#include "mesh/ref_element.hh"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Quadrature< dim >
 Base class for quadrature rules on simplices in arbitrary dimensions. More...
 
class  FEValuesData< dim, spacedim >
 Class FEValuesData holds the arrays of data computed by Mapping and FiniteElement. More...
 
class  MappingInternalData
 Mapping data that can be precomputed on the actual cell. More...
 
class  Mapping< dim, spacedim >
 Abstract class for the mapping between reference and actual cell. More...
 

Functions

template<class T >
double determinant (const T &M)
 Calculates determinant of a rectangular matrix. More...
 
template<>
double determinant (const arma::mat::fixed< 1, 2 > &M)
 
template<>
double determinant (const arma::mat::fixed< 2, 1 > &M)
 
template<>
double determinant (const arma::mat::fixed< 0, 3 > &M)
 
template<>
double determinant (const arma::mat::fixed< 3, 0 > &M)
 
template<>
double determinant (const arma::mat::fixed< 1, 3 > &M)
 
template<>
double determinant (const arma::mat::fixed< 3, 1 > &M)
 
template<>
double determinant (const arma::mat::fixed< 2, 3 > &M)
 
template<>
double determinant (const arma::mat::fixed< 3, 2 > &M)
 
template<unsigned int n>
double determinant (const arma::mat::fixed< n, n > &M)
 

Detailed Description

Class Mapping calculates data related to the mapping of the reference cell to the actual cell, such as Jacobian and normal vectors.

 * Copyright (C) 2015 Technical University of Liberec. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation. (http://www.gnu.org/licenses/gpl-3.0.en.html)

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Author
Jan Stebel

Definition in file mapping.hh.

Function Documentation

template<class T >
double determinant ( const T &  M)

Calculates determinant of a rectangular matrix.

Here is the caller graph for this function:

template<>
double determinant ( const arma::mat::fixed< 1, 2 > &  M)
inline

Definition at line 46 of file mapping.hh.

template<>
double determinant ( const arma::mat::fixed< 2, 1 > &  M)
inline

Definition at line 51 of file mapping.hh.

template<>
double determinant ( const arma::mat::fixed< 0, 3 > &  M)
inline

Definition at line 56 of file mapping.hh.

template<>
double determinant ( const arma::mat::fixed< 3, 0 > &  M)
inline

Definition at line 61 of file mapping.hh.

template<>
double determinant ( const arma::mat::fixed< 1, 3 > &  M)
inline

Definition at line 66 of file mapping.hh.

template<>
double determinant ( const arma::mat::fixed< 3, 1 > &  M)
inline

Definition at line 71 of file mapping.hh.

template<>
double determinant ( const arma::mat::fixed< 2, 3 > &  M)
inline

Definition at line 76 of file mapping.hh.

template<>
double determinant ( const arma::mat::fixed< 3, 2 > &  M)
inline

Definition at line 82 of file mapping.hh.

template<unsigned int n>
double determinant ( const arma::mat::fixed< n, n > &  M)
inline

Definition at line 88 of file mapping.hh.