Flow123d  JS_before_hm-2206-gca2a8366f
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

◆ determinant() [1/10]

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

Definition at line 40 of file mapping.hh.

◆ determinant() [2/10]

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

Definition at line 60 of file mapping.hh.

◆ determinant() [3/10]

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

Definition at line 45 of file mapping.hh.

◆ determinant() [4/10]

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

Definition at line 70 of file mapping.hh.

◆ determinant() [5/10]

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

Definition at line 65 of file mapping.hh.

◆ determinant() [6/10]

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

Definition at line 76 of file mapping.hh.

◆ determinant() [7/10]

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

Definition at line 82 of file mapping.hh.

◆ determinant() [8/10]

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

Calculates determinant of a rectangular matrix.

Here is the caller graph for this function:

◆ determinant() [9/10]

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

Definition at line 50 of file mapping.hh.

◆ determinant() [10/10]

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

Definition at line 55 of file mapping.hh.