::get_dof_value (const unsigned int dof) const
{
AssertIndexRange (dof, this->data->dofs_per_cell);
- Tensor<1,n_components_,VectorizedArray<Number> > return_value (false);
+ Tensor<1,n_components_,VectorizedArray<Number> > return_value;
for (unsigned int comp=0; comp<n_components; comp++)
return_value[comp] = this->values_dofs[comp][dof];
return return_value;
Assert (this->values_quad_initialized==true,
internal::ExcAccessToUninitializedField());
AssertIndexRange (q_point, this->data->n_q_points);
- Tensor<1,n_components_,VectorizedArray<Number> > return_value (false);
+ Tensor<1,n_components_,VectorizedArray<Number> > return_value;
for (unsigned int comp=0; comp<n_components; comp++)
return_value[comp] = this->values_quad[comp][q_point];
return return_value;
internal::ExcAccessToUninitializedField());
AssertIndexRange (q_point, this->data->n_q_points);
- Tensor<1,n_components_,Tensor<1,dim,VectorizedArray<Number> > > grad_out (false);
+ Tensor<1,n_components_,Tensor<1,dim,VectorizedArray<Number> > > grad_out;
// Cartesian cell
if (this->cell_type == internal::MatrixFreeFunctions::cartesian)
internal::ExcAccessToUninitializedField());
AssertIndexRange (q_point, this->data->n_q_points);
- Tensor<1,n_components_,Tensor<1,dim,VectorizedArray<Number> > > hessian_out (false);
+ Tensor<1,n_components_,Tensor<1,dim,VectorizedArray<Number> > > hessian_out;
// Cartesian cell
if (this->cell_type == internal::MatrixFreeFunctions::cartesian)
Assert (this->hessians_quad_initialized==true,
internal::ExcAccessToUninitializedField());
AssertIndexRange (q_point, this->data->n_q_points);
- Tensor<1,n_components_,VectorizedArray<Number> > laplacian_out (false);
+ Tensor<1,n_components_,VectorizedArray<Number> > laplacian_out;
const Tensor<1,n_components_,Tensor<1,dim,VectorizedArray<Number> > > hess_diag
= get_hessian_diagonal(q_point);
for (unsigned int comp=0; comp<n_components; ++comp)
Assert (this->values_quad_submitted == true,
internal::ExcAccessToUninitializedField());
#endif
- Tensor<1,n_components_,VectorizedArray<Number> > return_value (false);
+ Tensor<1,n_components_,VectorizedArray<Number> > return_value;
for (unsigned int comp=0; comp<n_components; ++comp)
return_value[comp] = this->values_quad[comp][0];
const unsigned int n_q_points = this->data->n_q_points;
internal::ExcAccessToUninitializedField());
AssertIndexRange (q_point, this->data->n_q_points);
- Tensor<1,dim,VectorizedArray<Number> > grad_out (false);
+ Tensor<1,dim,VectorizedArray<Number> > grad_out;
// Cartesian cell
if (this->cell_type == internal::MatrixFreeFunctions::cartesian)
{
// copy from generic function into dim-specialization function
const Tensor<2,dim,VectorizedArray<Number> > grad = get_gradient(q_point);
- Tensor<1,dim==2?1:dim,VectorizedArray<Number> > curl (false);
+ Tensor<1,dim==2?1:dim,VectorizedArray<Number> > curl;
switch (dim)
{
case 1:
internal::ExcAccessToUninitializedField());
AssertIndexRange (q_point, this->data->n_q_points);
- Tensor<1,1,VectorizedArray<Number> > grad_out (false);
+ Tensor<1,1,VectorizedArray<Number> > grad_out;
// Cartesian cell
if (this->cell_type == internal::MatrixFreeFunctions::cartesian)
// value from that
if (this->cell_type == internal::MatrixFreeFunctions::cartesian)
{
- Point<dim,VectorizedArray<Number> > point (false);
+ Point<dim,VectorizedArray<Number> > point;
switch (dim)
{
case 1:
void test_tensor ()
{
// a real tensor
- Tensor<1,dim,double> t (false);
+ Tensor<1,dim,double> t;
for (unsigned int i=0; i<dim; ++i)
{
template <int dim>
void test_tensor_01 ()
{
- Tensor<1,dim,std::complex<double> > t (false);
+ Tensor<1,dim,std::complex<double> > t;
for (unsigned int i=0; i<dim; ++i)
{
t[i] = std::complex<double> (i,1);
template <int dim>
void test_tensor_02 ()
{
- Tensor<1,dim,std::complex<double> > t (false);
+ Tensor<1,dim,std::complex<double> > t;
for (unsigned int i=0; i<dim; ++i)
{
t[i] = std::complex<double> (1,i);
// ---------------------------------------------------------------------
//
-// Copyright (C) 2013 - 2014 by the deal.II authors
+// Copyright (C) 2013 - 2015 by the deal.II authors
//
// This file is part of the deal.II library.
//
for (unsigned int q=0; q<n_q_points; ++q)
{
fe_eval.submit_value (values[q], q);
- Tensor<1,dim,VectorizedArray<Number> > submit (false);
+ Tensor<1,dim,VectorizedArray<Number> > submit;
for (unsigned int d=0; d<dim; ++d)
submit[d] = gradients[q*dim+d];
fe_eval.submit_gradient (submit, q);
// ---------------------------------------------------------------------
//
-// Copyright (C) 2013 - 2014 by the deal.II authors
+// Copyright (C) 2013 - 2015 by the deal.II authors
//
// This file is part of the deal.II library.
//
for (unsigned int q=0; q<n_q_points0; ++q)
{
fe_eval0.submit_value (values0[q], q);
- Tensor<1,dim,VectorizedArray<Number> > submit (false);
+ Tensor<1,dim,VectorizedArray<Number> > submit;
for (unsigned int d=0; d<dim; ++d)
submit[d] = gradients0[q*dim+d];
fe_eval0.submit_gradient (submit, q);
for (unsigned int q=0; q<n_q_points1; ++q)
{
fe_eval1.submit_value (values1[q], q);
- Tensor<1,dim,VectorizedArray<Number> > submit (false);
+ Tensor<1,dim,VectorizedArray<Number> > submit;
for (unsigned int d=0; d<dim; ++d)
submit[d] = gradients1[q*dim+d];
fe_eval1.submit_gradient (submit, q);
for (unsigned int q=0; q<n_q_points1; ++q)
{
fe_eval01.submit_value (values1[q], q);
- Tensor<1,dim,VectorizedArray<Number> > submit (false);
+ Tensor<1,dim,VectorizedArray<Number> > submit;
for (unsigned int d=0; d<dim; ++d)
submit[d] = gradients1[q*dim+d];
fe_eval01.submit_gradient (submit, q);
// ---------------------------------------------------------------------
//
-// Copyright (C) 2013 - 2014 by the deal.II authors
+// Copyright (C) 2013 - 2015 by the deal.II authors
//
// This file is part of the deal.II library.
//
for (unsigned int q=0; q<n_q_points0; ++q)
{
fe_eval0.submit_value (values0[q], q);
- Tensor<1,dim,VectorizedArray<Number> > submit (false);
+ Tensor<1,dim,VectorizedArray<Number> > submit;
for (unsigned int d=0; d<dim; ++d)
submit[d] = gradients0[q*dim+d];
fe_eval0.submit_gradient (submit, q);
for (unsigned int q=0; q<n_q_points1; ++q)
{
fe_eval1.submit_value (values1[q], q);
- Tensor<1,dim,VectorizedArray<Number> > submit (false);
+ Tensor<1,dim,VectorizedArray<Number> > submit;
for (unsigned int d=0; d<dim; ++d)
submit[d] = gradients1[q*dim+d];
fe_eval1.submit_gradient (submit, q);
for (unsigned int q=0; q<n_q_points1; ++q)
{
fe_eval01.submit_value (values1[q], q);
- Tensor<1,dim,VectorizedArray<Number> > submit (false);
+ Tensor<1,dim,VectorizedArray<Number> > submit;
for (unsigned int d=0; d<dim; ++d)
submit[d] = gradients1[q*dim+d];
fe_eval01.submit_gradient (submit, q);