#include <mymapping_q1.h>
Public Member Functions | |
InternalData (const unsigned int n_shape_functions) | |
double | shape (const unsigned int qpoint, const unsigned int shape_nr) const |
double & | shape (const unsigned int qpoint, const unsigned int shape_nr) |
double | support_shape (const unsigned int point_no, const unsigned int shape_nr) const |
double & | support_shape (const unsigned int point_no, const unsigned int shape_nr) |
Tensor< 1, dim > | derivative (const unsigned int qpoint, const unsigned int shape_nr) const |
Tensor< 1, dim > & | derivative (const unsigned int qpoint, const unsigned int shape_nr) |
Tensor< 1, dim > | support_derivative (const unsigned int point_no, const unsigned int shape_nr) const |
Tensor< 1, dim > & | support_derivative (const unsigned int point_no, const unsigned int shape_nr) |
virtual unsigned int | memory_consumption () const |
Public Attributes | |
std::vector< double > | shape_values |
std::vector< Tensor< 1, dim > > | shape_derivatives |
std::vector< Tensor< 2, dim > > | covariant |
std::vector< Tensor< 2, dim > > | contravariant |
std::vector< double > | support_values |
std::vector< Tensor< 1, dim > > | support_derivatives |
std::vector < std::vector < Tensor< 1, dim > > > | unit_tangentials |
std::vector < std::vector < Tensor< 1, dim > > > | aux |
std::vector< Point < dim > > | mapping_support_points |
std::vector< Point < dim > > | mapping_generalized_support_points |
Triangulation< dim > ::cell_iterator | cell_of_current_support_points |
bool | is_mapping_q1_data |
unsigned int | n_shape_functions |
MyMappingQ1< dim >::InternalData::InternalData | ( | const unsigned int | n_shape_functions | ) | [inline] |
Constructor. Pass the number of shape functions.
double MyMappingQ1< dim >::InternalData::shape | ( | const unsigned int | qpoint, | |
const unsigned int | shape_nr | |||
) | const [inline] |
Shape function at quadrature point. Shape functions are in tensor product order, so vertices must be reordered to obtain transformation.
double & MyMappingQ1< dim >::InternalData::shape | ( | const unsigned int | qpoint, | |
const unsigned int | shape_nr | |||
) | [inline] |
Shape function at quadrature point. See above.
double MyMappingQ1< dim >::InternalData::support_shape | ( | const unsigned int | point_no, | |
const unsigned int | shape_nr | |||
) | const [inline] |
Shape function at support point. Shape functions are in tensor product order, so vertices must be reordered to obtain transformation.
double & MyMappingQ1< dim >::InternalData::support_shape | ( | const unsigned int | point_no, | |
const unsigned int | shape_nr | |||
) | [inline] |
Shape function at support point. See above.
Tensor< 1, dim > MyMappingQ1< dim >::InternalData::derivative | ( | const unsigned int | qpoint, | |
const unsigned int | shape_nr | |||
) | const [inline] |
Gradient of shape function in quadrature point. See above.
Tensor< 1, dim > & MyMappingQ1< dim >::InternalData::derivative | ( | const unsigned int | qpoint, | |
const unsigned int | shape_nr | |||
) | [inline] |
Gradient of shape function in quadrature point. See above.
Tensor< 1, dim > MyMappingQ1< dim >::InternalData::support_derivative | ( | const unsigned int | point_no, | |
const unsigned int | shape_nr | |||
) | const [inline] |
Gradient of shape function in support point. See above.
Tensor< 1, dim > & MyMappingQ1< dim >::InternalData::support_derivative | ( | const unsigned int | point_no, | |
const unsigned int | shape_nr | |||
) | [inline] |
Gradient of shape function in support point. See above.
unsigned int MyMappingQ1< dim >::InternalData::memory_consumption | ( | ) | const [inline, virtual] |
Return an estimate (in bytes) or the memory consumption of this object.
Reimplemented from Mapping< dim >::InternalDataBase.
std::vector<double> MyMappingQ1< dim >::InternalData::shape_values |
Values of shape functions. Access by function shape
.
Computed once.
std::vector<Tensor<1,dim> > MyMappingQ1< dim >::InternalData::shape_derivatives |
Values of shape function derivatives. Access by function derivative
.
Computed once.
std::vector<Tensor<2,dim> > MyMappingQ1< dim >::InternalData::covariant |
Tensors of covariant transformation at each of the quadrature points. The matrix stored is the inverse of the Jacobian matrix, which itself is stored in the contravariant
field of this structure.
Computed on each cell.
std::vector<Tensor<2,dim> > MyMappingQ1< dim >::InternalData::contravariant |
Tensors of contravariant transformation at each of the quadrature points. The contravariant matrix is the Jacobian of the transformation, i.e. $J_{ij}=dx_i/d x_j$.
Computed on each cell.
std::vector<double> MyMappingQ1< dim >::InternalData::support_values |
Values of shape functions at support points Access by function support_shape
.
Computed once.
std::vector<Tensor<1,dim> > MyMappingQ1< dim >::InternalData::support_derivatives |
Values of shape functions derivatives at support points Access by function support_derivative
.
Computed once.
std::vector<std::vector<Tensor<1,dim> > > MyMappingQ1< dim >::InternalData::unit_tangentials |
Unit tangential vectors. Used for the computation of boundary forms and normal vectors.
Filled once.
std::vector<std::vector<Tensor<1,dim> > > MyMappingQ1< dim >::InternalData::aux |
Auxiliary vectors for internal use.
std::vector<Point<dim> > MyMappingQ1< dim >::InternalData::mapping_support_points |
Stores the support points of the mapping shape functions on the cell_of_current_support_points
.
std::vector<Point<dim> > MyMappingQ1< dim >::InternalData::mapping_generalized_support_points |
Stores the generalized support points of the mapping shape functions on the cell_of_current_support_points
.
Triangulation<dim>::cell_iterator MyMappingQ1< dim >::InternalData::cell_of_current_support_points |
Stores the cell of which the mapping_support_points
are stored.
bool MyMappingQ1< dim >::InternalData::is_mapping_q1_data |
unsigned int MyMappingQ1< dim >::InternalData::n_shape_functions |
Number of shape functions. If this is a Q1 mapping, then it is simply the number of vertices per cell. However, since also derived classes use this class (e.g. the Mapping_Q() class), the number of shape functions may also be different.