const auto dof_pair = dofmap[interface_dof_index];
if (at_boundary())
- return 1.0 * get_fe_face_values(0).shape_value_component(dof_pair[0],
- q_point,
- component);
+ return get_fe_face_values(0).shape_value_component(dof_pair[0],
+ q_point,
+ component);
double value = 0.0;
Tensor<1, spacedim> value;
if (dof_pair[0] != numbers::invalid_unsigned_int)
- value += 1.0 * get_fe_face_values(0).shape_grad_component(dof_pair[0],
- q_point,
- component);
+ value += get_fe_face_values(0).shape_grad_component(dof_pair[0],
+ q_point,
+ component);
if (dof_pair[1] != numbers::invalid_unsigned_int)
- value += -1.0 * get_fe_face_values(1).shape_grad_component(dof_pair[1],
- q_point,
- component);
+ value -= get_fe_face_values(1).shape_grad_component(dof_pair[1],
+ q_point,
+ component);
return value;
}
Tensor<2, spacedim> value;
if (dof_pair[0] != numbers::invalid_unsigned_int)
- value += 1.0 * get_fe_face_values(0).shape_hessian_component(dof_pair[0],
- q_point,
- component);
+ value += get_fe_face_values(0).shape_hessian_component(dof_pair[0],
+ q_point,
+ component);
if (dof_pair[1] != numbers::invalid_unsigned_int)
- value += -1.0 * get_fe_face_values(1).shape_hessian_component(dof_pair[1],
- q_point,
- component);
+ value -= get_fe_face_values(1).shape_hessian_component(dof_pair[1],
+ q_point,
+ component);
return value;
}
Tensor<3, spacedim> value;
if (dof_pair[0] != numbers::invalid_unsigned_int)
- value +=
- 1.0 * get_fe_face_values(0).shape_3rd_derivative_component(dof_pair[0],
- q_point,
- component);
+ value += get_fe_face_values(0).shape_3rd_derivative_component(dof_pair[0],
+ q_point,
+ component);
if (dof_pair[1] != numbers::invalid_unsigned_int)
- value +=
- -1.0 * get_fe_face_values(1).shape_3rd_derivative_component(dof_pair[1],
+ value -= get_fe_face_values(1).shape_3rd_derivative_component(dof_pair[1],
q_point,
component);
const auto dof_pair = this->fe_interface->dofmap[interface_dof_index];
if (this->fe_interface->at_boundary())
- return 1.0 * (*(this->fe_interface->fe_face_values))[extractor].value(
- dof_pair[0], q_point);
+ return (*(this->fe_interface->fe_face_values))[extractor].value(
+ dof_pair[0], q_point);
value_type value = 0.0;
const auto dof_pair = this->fe_interface->dofmap[interface_dof_index];
if (this->fe_interface->at_boundary())
- return 1.0 * (*(this->fe_interface->fe_face_values))[extractor].gradient(
- dof_pair[0], q_point);
+ return (*(this->fe_interface->fe_face_values))[extractor].gradient(
+ dof_pair[0], q_point);
gradient_type value;
const auto dof_pair = this->fe_interface->dofmap[interface_dof_index];
if (this->fe_interface->at_boundary())
- return 1.0 * (*(this->fe_interface->fe_face_values))[extractor].gradient(
- dof_pair[0], q_point);
+ return (*(this->fe_interface->fe_face_values))[extractor].gradient(
+ dof_pair[0], q_point);
gradient_type value;
if (dof_pair[0] != numbers::invalid_unsigned_int)
value +=
- 1.0 *
(*(this->fe_interface->fe_face_values))[extractor].gradient(dof_pair[0],
q_point);
if (dof_pair[1] != numbers::invalid_unsigned_int)
- value -= 1.0 * (*(this->fe_interface->fe_face_values_neighbor))[extractor]
- .gradient(dof_pair[1], q_point);
+ value -=
+ (*(this->fe_interface->fe_face_values_neighbor))[extractor].gradient(
+ dof_pair[1], q_point);
return value;
}
const auto dof_pair = this->fe_interface->dofmap[interface_dof_index];
if (this->fe_interface->at_boundary())
- return 1.0 * (*(this->fe_interface->fe_face_values))[extractor].hessian(
- dof_pair[0], q_point);
+ return (*(this->fe_interface->fe_face_values))[extractor].hessian(
+ dof_pair[0], q_point);
hessian_type value;
const auto dof_pair = this->fe_interface->dofmap[interface_dof_index];
if (this->fe_interface->at_boundary())
- return 1.0 * (*(this->fe_interface->fe_face_values))[extractor]
- .third_derivative(dof_pair[0], q_point);
+ return (*(this->fe_interface->fe_face_values))[extractor]
+ .third_derivative(dof_pair[0], q_point);
third_derivative_type value;
if (dof_pair[0] != numbers::invalid_unsigned_int)
- value += 1.0 * (*(this->fe_interface->fe_face_values))[extractor]
- .third_derivative(dof_pair[0], q_point);
+ value +=
+ (*(this->fe_interface->fe_face_values))[extractor].third_derivative(
+ dof_pair[0], q_point);
if (dof_pair[1] != numbers::invalid_unsigned_int)
- value -= 1.0 * (*(this->fe_interface->fe_face_values_neighbor))[extractor]
- .third_derivative(dof_pair[1], q_point);
+ value -= (*(this->fe_interface->fe_face_values_neighbor))[extractor]
+ .third_derivative(dof_pair[1], q_point);
return value;
}
const auto dof_pair = this->fe_interface->dofmap[interface_dof_index];
if (this->fe_interface->at_boundary())
- return 1.0 * (*(this->fe_interface->fe_face_values))[extractor].hessian(
- dof_pair[0], q_point);
+ return (*(this->fe_interface->fe_face_values))[extractor].hessian(
+ dof_pair[0], q_point);
hessian_type value;
if (dof_pair[0] != numbers::invalid_unsigned_int)
value +=
- 1.0 *
(*(this->fe_interface->fe_face_values))[extractor].hessian(dof_pair[0],
q_point);
if (dof_pair[1] != numbers::invalid_unsigned_int)
- value -= 1.0 * (*(this->fe_interface->fe_face_values_neighbor))[extractor]
- .hessian(dof_pair[1], q_point);
+ value -=
+ (*(this->fe_interface->fe_face_values_neighbor))[extractor].hessian(
+ dof_pair[1], q_point);
return value;
}
const auto dof_pair = this->fe_interface->dofmap[interface_dof_index];
if (this->fe_interface->at_boundary())
- return 1.0 * (*(this->fe_interface->fe_face_values))[extractor].value(
- dof_pair[0], q_point);
+ return (*(this->fe_interface->fe_face_values))[extractor].value(
+ dof_pair[0], q_point);
value_type value;
const auto dof_pair = this->fe_interface->dofmap[interface_dof_index];
if (this->fe_interface->at_boundary())
- return 1.0 * (*(this->fe_interface->fe_face_values))[extractor].gradient(
- dof_pair[0], q_point);
+ return (*(this->fe_interface->fe_face_values))[extractor].gradient(
+ dof_pair[0], q_point);
gradient_type value;
const auto dof_pair = this->fe_interface->dofmap[interface_dof_index];
if (this->fe_interface->at_boundary())
- return 1.0 * (*(this->fe_interface->fe_face_values))[extractor].gradient(
- dof_pair[0], q_point);
+ return (*(this->fe_interface->fe_face_values))[extractor].gradient(
+ dof_pair[0], q_point);
gradient_type value;
if (dof_pair[0] != numbers::invalid_unsigned_int)
value +=
- 1.0 *
(*(this->fe_interface->fe_face_values))[extractor].gradient(dof_pair[0],
q_point);
if (dof_pair[1] != numbers::invalid_unsigned_int)
- value -= 1.0 * (*(this->fe_interface->fe_face_values_neighbor))[extractor]
- .gradient(dof_pair[1], q_point);
+ value -=
+ (*(this->fe_interface->fe_face_values_neighbor))[extractor].gradient(
+ dof_pair[1], q_point);
return value;
}
const auto dof_pair = this->fe_interface->dofmap[interface_dof_index];
if (this->fe_interface->at_boundary())
- return 1.0 * (*(this->fe_interface->fe_face_values))[extractor].hessian(
- dof_pair[0], q_point);
+ return (*(this->fe_interface->fe_face_values))[extractor].hessian(
+ dof_pair[0], q_point);
hessian_type value;
const auto dof_pair = this->fe_interface->dofmap[interface_dof_index];
if (this->fe_interface->at_boundary())
- return 1.0 * (*(this->fe_interface->fe_face_values))[extractor].hessian(
- dof_pair[0], q_point);
+ return (*(this->fe_interface->fe_face_values))[extractor].hessian(
+ dof_pair[0], q_point);
hessian_type value;
if (dof_pair[0] != numbers::invalid_unsigned_int)
value +=
- 1.0 *
(*(this->fe_interface->fe_face_values))[extractor].hessian(dof_pair[0],
q_point);
if (dof_pair[1] != numbers::invalid_unsigned_int)
- value -= 1.0 * (*(this->fe_interface->fe_face_values_neighbor))[extractor]
- .hessian(dof_pair[1], q_point);
+ value -=
+ (*(this->fe_interface->fe_face_values_neighbor))[extractor].hessian(
+ dof_pair[1], q_point);
return value;
}
const auto dof_pair = this->fe_interface->dofmap[interface_dof_index];
if (this->fe_interface->at_boundary())
- return 1.0 * (*(this->fe_interface->fe_face_values))[extractor]
- .third_derivative(dof_pair[0], q_point);
+ return (*(this->fe_interface->fe_face_values))[extractor]
+ .third_derivative(dof_pair[0], q_point);
third_derivative_type value;
if (dof_pair[0] != numbers::invalid_unsigned_int)
- value += 1.0 * (*(this->fe_interface->fe_face_values))[extractor]
- .third_derivative(dof_pair[0], q_point);
+ value +=
+ (*(this->fe_interface->fe_face_values))[extractor].third_derivative(
+ dof_pair[0], q_point);
if (dof_pair[1] != numbers::invalid_unsigned_int)
- value -= 1.0 * (*(this->fe_interface->fe_face_values_neighbor))[extractor]
- .third_derivative(dof_pair[1], q_point);
+ value -= (*(this->fe_interface->fe_face_values_neighbor))[extractor]
+ .third_derivative(dof_pair[1], q_point);
return value;
}