// carefully: transform to the
// unit cube
// and check there.
- static const MappingQ1<dim> mapping;
-
const TriaRawIterator<dim, CellAccessor<dim> > cell_iterator (*this);
- return (GeometryInfo<dim>::
- is_inside_unit_cell (mapping.transform_real_to_unit_cell(cell_iterator,
- p)));
+ return (GeometryInfo<dim>::is_inside_unit_cell (
+ StaticMappingQ1<dim>::mapping.transform_real_to_unit_cell(cell_iterator, p)));
}
void DataOut<dim,DH>::build_patches (const unsigned int n_subdivisions,
const unsigned int n_threads_)
{
- static const MappingQ1<dim> mapping;
- build_patches (mapping, n_subdivisions, n_threads_);
+ build_patches (StaticMappingQ1<dim>::mapping, n_subdivisions, n_threads_);
}
// transformed using a Q1 mapping,
// we don't support anything else
// as well
- static const MappingQ1<dim> mapping;
typename SelectFEValues<DH<dim> >::FEValues
- x_fe_patch_values (mapping, this->dofs->get_fe(),
+ x_fe_patch_values (StaticMappingQ1<dim>::mapping, this->dofs->get_fe(),
patch_points, update_values);
const unsigned int n_patches_per_circle = data.n_patches_per_circle;
const unsigned int component)
{
Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
- static const MappingQ1<dim> mapping;
- approximate_derivative<Gradient<dim>,dim> (mapping,
+ approximate_derivative<Gradient<dim>,dim> (StaticMappingQ1<dim>::mapping,
dof_handler,
solution,
component,
const unsigned int component)
{
Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
- static const MappingQ1<dim> mapping;
- approximate_derivative<SecondDerivative<dim>,dim> (mapping,
+ approximate_derivative<SecondDerivative<dim>,dim> (StaticMappingQ1<dim>::mapping,
dof_handler,
solution,
component,
const unsigned int material_id)
{
Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
- static const MappingQ1<1> mapping;
- estimate(mapping, dof_handler, quadrature, neumann_bc, solution,
+ estimate(StaticMappingQ1<1>::mapping, dof_handler, quadrature, neumann_bc, solution,
error, component_mask, coefficients, n_threads, subdomain_id, material_id);
}
const unsigned int material_id)
{
Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
- static const MappingQ1<1> mapping;
- estimate(mapping, dof_handler, quadrature, neumann_bc, solutions,
+ estimate(StaticMappingQ1<1>::mapping, dof_handler, quadrature, neumann_bc, solutions,
errors, component_mask, coefficients, n_threads, subdomain_id, material_id);
}
const unsigned int material_id)
{
Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
- static const MappingQ1<dim> mapping;
- estimate(mapping, dof_handler, quadrature, neumann_bc, solution,
+ estimate(StaticMappingQ1<dim>::mapping, dof_handler, quadrature, neumann_bc, solution,
error, component_mask, coefficients, n_threads,
subdomain_id, material_id);
}
const unsigned int material_id)
{
Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
- static const MappingQ1<dim> mapping;
- estimate(mapping, dof_handler, quadrature, neumann_bc, solutions,
+ estimate(StaticMappingQ1<dim>::mapping, dof_handler, quadrature, neumann_bc, solutions,
errors, component_mask, coefficients, n_threads,
subdomain_id, material_id);
}
// $Id$
// Version: $Name$
//
-// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
const Function<dim> * const coefficient)
{
Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
- static const MappingQ1<dim> mapping;
- create_mass_matrix(mapping, dof, q, matrix, coefficient);
+ create_mass_matrix(StaticMappingQ1<dim>::mapping, dof, q, matrix, coefficient);
}
const Function<dim> * const coefficient)
{
Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
- static const MappingQ1<dim> mapping;
- create_mass_matrix(mapping, dof, q, matrix, rhs, rhs_vector, coefficient);
+ create_mass_matrix(StaticMappingQ1<dim>::mapping,
+ dof, q, matrix, rhs, rhs_vector, coefficient);
}
const Function<dim> * const a)
{
Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
- static const MappingQ1<dim> mapping;
- create_boundary_mass_matrix(mapping, dof, q, matrix, rhs, rhs_vector,
- dof_to_boundary_mapping, a);
+ create_boundary_mass_matrix(StaticMappingQ1<dim>::mapping, dof, q,
+ matrix,rhs, rhs_vector, dof_to_boundary_mapping, a);
}
const Function<dim> * const coefficient)
{
Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
- static const MappingQ1<dim> mapping;
- create_laplace_matrix(mapping, dof, q, matrix, coefficient);
+ create_laplace_matrix(StaticMappingQ1<dim>::mapping, dof, q, matrix, coefficient);
}
const Function<dim> * const coefficient)
{
Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
- static const MappingQ1<dim> mapping;
- create_laplace_matrix(mapping, dof, q, matrix, rhs, rhs_vector, coefficient);
+ create_laplace_matrix(StaticMappingQ1<dim>::mapping, dof, q,
+ matrix, rhs, rhs_vector, coefficient);
}