#include <deal.II/base/symmetric_tensor.h>
#include <iostream>
#include <Sacado.hpp>
Go to the source code of this file.
◆ fad_double
◆ extract_value_from_Sacado()
template<int dim>
SymmetricTensor<2,dim> extract_value_from_Sacado |
( |
const SymmetricTensor< 2, dim, fad_double > & |
SymTensor_Sacado | ) |
|
26 SymmetricTensor<2,dim> SymTensor;
28 for (
unsigned int i=0; i<dim; ++i)
29 for (
unsigned int j=i; j<dim; ++j )
30 SymTensor[i][j] = SymTensor_Sacado[i][j].val();
◆ init_Sacado()
template<int dim>
SymmetricTensor<2,dim,fad_double> init_Sacado |
( |
const SymmetricTensor< 2, dim, double > & |
SymTensor | ) |
|
14 SymmetricTensor<2,dim,fad_double> SymTensor_Sacado;
15 for (
unsigned int i=0; i<dim; ++i)
16 for (
unsigned int j=i; j<dim; ++j )
17 SymTensor_Sacado[i][j] = SymTensor[i][j];
19 return SymTensor_Sacado;
◆ reinit()
template<int dim>
Vector<fad_double> reinit |
( |
unsigned int |
a, |
|
|
bool |
b |
|
) |
| |
39 Vector<fad_double> abc (5);