Flow123d  JS_before_hm-995-g9546b8d
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 "system/fmt/posix.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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 (FMT_UNUSED const arma::mat::fixed< 0, 3 > &M)
 
template<>
double determinant (FMT_UNUSED 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<arma::uword 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.

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

Definition at line 40 of file mapping.hh.

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

Definition at line 45 of file mapping.hh.

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

Definition at line 50 of file mapping.hh.

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

Definition at line 55 of file mapping.hh.

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

Definition at line 60 of file mapping.hh.

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

Definition at line 65 of file mapping.hh.

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

Definition at line 70 of file mapping.hh.

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

Definition at line 76 of file mapping.hh.

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

Definition at line 82 of file mapping.hh.