#include <deal.II/base/symmetric_tensor.h>
#include <iostream>
#include <fstream>
#include <cmath>
#include <Sacado.hpp>
Go to the source code of this file.
|
using | fad_double = Sacado::Fad::DFad< double > |
|
typedef Sacado::Fad::DFad< double > | DFadType |
|
|
template<int dim> |
void | get_index_map (std::map< unsigned int, std::pair< unsigned int, unsigned int >> &std_map_indicies) |
|
◆ DFadType
typedef Sacado::Fad::DFad<double> DFadType |
◆ fad_double
◆ get_index_map()
template<int dim>
void get_index_map |
( |
std::map< unsigned int, std::pair< unsigned int, unsigned int >> & |
std_map_indicies | ) |
|
26 std::pair<unsigned int, unsigned int> tmp_pair;
31 tmp_pair.first=0; tmp_pair.second=0;
32 std_map_indicies[0] = tmp_pair;
34 tmp_pair.first=0; tmp_pair.second=1;
35 std_map_indicies[1] = tmp_pair;
37 tmp_pair.first=1; tmp_pair.second=1;
38 std_map_indicies[2] = tmp_pair;
41 tmp_pair.first=0; tmp_pair.second=0;
42 std_map_indicies[0] = tmp_pair;
44 tmp_pair.first=0; tmp_pair.second=1;
45 std_map_indicies[1] = tmp_pair;
47 tmp_pair.first=0; tmp_pair.second=2;
48 std_map_indicies[2] = tmp_pair;
50 tmp_pair.first=1; tmp_pair.second=1;
51 std_map_indicies[3] = tmp_pair;
53 tmp_pair.first=1; tmp_pair.second=2;
54 std_map_indicies[4] = tmp_pair;
56 tmp_pair.first=2; tmp_pair.second=2;
57 std_map_indicies[5] = tmp_pair;