OFF)
-#
-# Compatibility support:
-#
-
-OPTION(DEAL_II_COMPAT_MAPPING
- "Backward compatibility support for functions and classes that do not
- take an explicit mapping variable, but rather use a default Q1 mapping
- instead."
- ON)
-
-
###########################################################################
-/* Backward compatibility support for functions and classes that do not
- * take an explicit mapping variable, but rather use a default Q1 mapping
- * instead
- */
-#cmakedefine DEAL_II_COMPAT_MAPPING
-
-
-
/***************************************
* Configured in configure_blas.cmake: *
#cmakedefine HAVE_STRTRS_
-
/****************************************
* Configured in configure_metis.cmake: *
****************************************/
const Function<DH::space_dimension> &function,
VECTOR &vec)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
interpolate(StaticMappingQ1<DH::dimension, DH::space_dimension>::mapping,
dof, function, vec);
}
const Quadrature<dim-1> &q_boundary,
const bool project_to_boundary_first)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
project(StaticMappingQ1<dim,spacedim>::mapping, dof, constraints, quadrature, function, vec,
enforce_zero_boundary, q_boundary, project_to_boundary_first);
}
const Function<spacedim> &rhs_function,
Vector<double> &rhs_vector)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
create_right_hand_side(StaticMappingQ1<dim,spacedim>::mapping, dof_handler, quadrature,
rhs_function, rhs_vector);
}
const Function<spacedim> &rhs_function,
Vector<double> &rhs_vector)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
create_right_hand_side(hp::StaticMappingQ1<dim,spacedim>::mapping_collection,
dof_handler, quadrature,
rhs_function, rhs_vector);
const Point<spacedim> &p,
Vector<double> &rhs_vector)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
create_point_source_vector(StaticMappingQ1<dim,spacedim>::mapping, dof_handler,
p, rhs_vector);
}
const Point<spacedim> &p,
Vector<double> &rhs_vector)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
create_point_source_vector(hp::StaticMappingQ1<dim>::mapping_collection,
dof_handler,
p, rhs_vector);
const Point<dim> &orientation,
Vector<double> &rhs_vector)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
create_point_source_vector(StaticMappingQ1<dim,spacedim>::mapping, dof_handler,
p, orientation, rhs_vector);
}
const Point<dim> &orientation,
Vector<double> &rhs_vector)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
create_point_source_vector(hp::StaticMappingQ1<dim>::mapping_collection,
dof_handler,
p, orientation, rhs_vector);
Vector<double> &rhs_vector,
const std::set<types::boundary_id> &boundary_indicators)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
-
create_boundary_right_hand_side(StaticMappingQ1<dim>::mapping, dof_handler,
quadrature,
rhs_function, rhs_vector,
Vector<double> &rhs_vector,
const std::set<types::boundary_id> &boundary_indicators)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
create_boundary_right_hand_side(hp::StaticMappingQ1<dim>::mapping_collection,
dof_handler, quadrature,
rhs_function, rhs_vector,
std::map<unsigned int,double> &boundary_values,
const std::vector<bool> &component_mask)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
interpolate_boundary_values(StaticMappingQ1<DH::dimension,DH::space_dimension>::mapping,
dof, boundary_component,
boundary_function, boundary_values, component_mask);
std::map<unsigned int,double> &boundary_values,
const std::vector<bool> &component_mask)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
interpolate_boundary_values(StaticMappingQ1<DH::dimension,DH::space_dimension>::mapping,
dof, function_map,
boundary_values, component_mask);
ConstraintMatrix &constraints,
const std::vector<bool> &component_mask)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
interpolate_boundary_values(StaticMappingQ1<DH::dimension,DH::space_dimension>::mapping,
dof, boundary_component,
boundary_function, constraints, component_mask);
ConstraintMatrix &constraints,
const std::vector<bool> &component_mask)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
interpolate_boundary_values(StaticMappingQ1<DH::dimension,DH::space_dimension>::mapping,
dof, function_map,
constraints, component_mask);
std::map<unsigned int,double> &boundary_values,
std::vector<unsigned int> component_mapping)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
project_boundary_values(StaticMappingQ1<dim,spacedim>::mapping, dof, boundary_functions, q,
boundary_values, component_mapping);
}
ConstraintMatrix &constraints,
std::vector<unsigned int> component_mapping)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
project_boundary_values(StaticMappingQ1<dim,spacedim>::mapping, dof, boundary_functions, q,
constraints, component_mapping);
}
const Function<spacedim> *weight,
const double exponent)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
internal
::do_integrate_difference(hp::StaticMappingQ1<dim,spacedim>::mapping_collection,
dof, fe_function, exact_solution,
const Function<spacedim> *weight,
const double exponent)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
internal
::do_integrate_difference(hp::StaticMappingQ1<dim>::mapping_collection,
dof, fe_function, exact_solution,
const InVector &v,
const unsigned int component)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
return compute_mean_value(StaticMappingQ1<dim,spacedim>::mapping, dof, quadrature, v, component);
}
}
fe),
quadrature (q)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
initialize (update_flags);
}
StaticMappingQ1<dim,spacedim>::mapping,
fe, quadrature)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
initialize (update_flags);
}
StaticMappingQ1<dim,spacedim>::mapping,
fe, quadrature)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
initialize (update_flags);
}
Vector<float> &derivative_norm,
const unsigned int component)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
approximate_derivative<Gradient<dim>,dim> (StaticMappingQ1<dim>::mapping,
dof_handler,
solution,
Vector<float> &derivative_norm,
const unsigned int component)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
approximate_derivative<SecondDerivative<dim>,dim> (StaticMappingQ1<dim>::mapping,
dof_handler,
solution,
{
// just call the respective function with Q1
// mapping
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
approximate_derivative_tensor (StaticMappingQ1<dim>::mapping,
dof,
solution,
const types::subdomain_id subdomain_id,
const types::material_id material_id)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
estimate(StaticMappingQ1<1,spacedim>::mapping, dof_handler, quadrature, neumann_bc, solution,
error, component_mask, coefficients, n_threads, subdomain_id, material_id);
}
const types::subdomain_id subdomain_id,
const types::material_id material_id)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
estimate(StaticMappingQ1<1,spacedim>::mapping, dof_handler, quadrature, neumann_bc, solutions,
errors, component_mask, coefficients, n_threads, subdomain_id, material_id);
}
const types::subdomain_id subdomain_id,
const types::material_id material_id)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
estimate(StaticMappingQ1<1,spacedim>::mapping, dof_handler, quadrature, neumann_bc, solution,
error, component_mask, coefficients, n_threads, subdomain_id, material_id);
}
const types::subdomain_id subdomain_id,
const types::material_id material_id)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
estimate(StaticMappingQ1<1,spacedim>::mapping, dof_handler, quadrature, neumann_bc, solutions,
errors, component_mask, coefficients, n_threads, subdomain_id, material_id);
}
const types::subdomain_id subdomain_id,
const types::material_id material_id)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
estimate(StaticMappingQ1<dim,spacedim>::mapping, dof_handler, quadrature, neumann_bc, solution,
error, component_mask, coefficients, n_threads,
subdomain_id, material_id);
const types::subdomain_id subdomain_id,
const types::material_id material_id)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
estimate(StaticMappingQ1<dim, spacedim>::mapping, dof_handler, quadrature, neumann_bc, solution,
error, component_mask, coefficients, n_threads,
subdomain_id, material_id);
const types::subdomain_id subdomain_id,
const types::material_id material_id)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
estimate(StaticMappingQ1<dim, spacedim>::mapping, dof_handler, quadrature, neumann_bc, solutions,
errors, component_mask, coefficients, n_threads,
subdomain_id, material_id);
const types::subdomain_id subdomain_id,
const types::material_id material_id)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
estimate(StaticMappingQ1<dim, spacedim>::mapping, dof_handler, quadrature, neumann_bc, solutions,
errors, component_mask, coefficients, n_threads,
subdomain_id, material_id);
SparseMatrix<number> &matrix,
const Function<spacedim> * const coefficient)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
create_mass_matrix(StaticMappingQ1<dim,spacedim>::mapping, dof,
q, matrix, coefficient);
}
Vector<double> &rhs_vector,
const Function<spacedim> * const coefficient)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
create_mass_matrix(StaticMappingQ1<dim,spacedim>::mapping,
dof, q, matrix, rhs, rhs_vector, coefficient);
}
SparseMatrix<number> &matrix,
const Function<spacedim> * const coefficient)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
create_mass_matrix(hp::StaticMappingQ1<dim,spacedim>::mapping_collection, dof, q, matrix, coefficient);
}
Vector<double> &rhs_vector,
const Function<spacedim> * const coefficient)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
create_mass_matrix(hp::StaticMappingQ1<dim,spacedim>::mapping_collection, dof, q,
matrix, rhs, rhs_vector, coefficient);
}
const Function<spacedim> * const a,
std::vector<unsigned int> component_mapping)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
create_boundary_mass_matrix(StaticMappingQ1<dim,spacedim>::mapping, dof, q,
matrix,rhs, rhs_vector, dof_to_boundary_mapping, a, component_mapping);
}
const Function<spacedim> * const a,
std::vector<unsigned int> component_mapping)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
create_boundary_mass_matrix(hp::StaticMappingQ1<dim,spacedim>::mapping_collection, dof, q,
matrix,rhs, rhs_vector, dof_to_boundary_mapping, a, component_mapping);
}
SparseMatrix<double> &matrix,
const Function<spacedim> * const coefficient)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
create_laplace_matrix(StaticMappingQ1<dim,spacedim>::mapping, dof, q, matrix, coefficient);
}
Vector<double> &rhs_vector,
const Function<spacedim> * const coefficient)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
create_laplace_matrix(StaticMappingQ1<dim,spacedim>::mapping, dof, q,
matrix, rhs, rhs_vector, coefficient);
}
SparseMatrix<double> &matrix,
const Function<spacedim> * const coefficient)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
create_laplace_matrix(hp::StaticMappingQ1<dim,spacedim>::mapping_collection, dof, q, matrix, coefficient);
}
Vector<double> &rhs_vector,
const Function<spacedim> * const coefficient)
{
- Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
create_laplace_matrix(hp::StaticMappingQ1<dim,spacedim>::mapping_collection, dof, q,
matrix, rhs, rhs_vector, coefficient);
}