Flow123d  JS_before_hm-1-ge159291
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/accessors.hh"
#include "fem/update_flags.hh"
#include "mesh/ref_element.hh"
#include "system/fmt/posix.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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 (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.

Here is the caller graph for this function:

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

Definition at line 47 of file mapping.hh.

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

Definition at line 52 of file mapping.hh.

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

Definition at line 57 of file mapping.hh.

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

Definition at line 62 of file mapping.hh.

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

Definition at line 67 of file mapping.hh.

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

Definition at line 72 of file mapping.hh.

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

Definition at line 77 of file mapping.hh.

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

Definition at line 83 of file mapping.hh.

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

Definition at line 89 of file mapping.hh.