Evolving surface finite element method  v0.3.0-14-g3598512
Numerical experiments for my papers
Classes | Namespaces | Typedefs | Functions
grid_GridAndTime_impl.h File Reference

Hash maps for evolving grids. More...

#include <vector>
#include <array>
#include <string>
#include <unordered_map>
#include <algorithm>
#include <boost/functional/hash.hpp>
#include "grid.h"
Include dependency graph for grid_GridAndTime_impl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  std::std::hash< Esfem::Grid::Deformation::Domain >
 Hash map for Domain points. More...
 
struct  std::std::equal_to< Esfem::Grid::Deformation::Domain >
 operator==() for Domain points More...
 
class  Esfem::Impl::Evolving_grid
 Evolution via a hash map. More...
 
class  Esfem::Impl::hash::grid
 Evolution via a hash map. More...
 
struct  Esfem::Impl::hash::grid::bad
 Reports errors. More...
 

Namespaces

 std
 Template specializations.
 
 Esfem
 The evolving surface finite element method.
 
 Esfem::Impl
 Implementation details.
 
 Esfem::Impl::hash
 hash grid plus helper functions
 

Typedefs

using Esfem::Impl::hash::range = Grid::Deformation::Domain
 Basic dune entity.
 
using Esfem::Impl::hash::key = std::array< int, range::dimension >
 Int because of rounding errors.
 

Functions

std::string Esfem::Impl::hash::to_string (const range &)
 Make a string out of a range.
 
key Esfem::Impl::hash::to_key (const range &)
 Multiply each entry with 1e5 and then truncate.
 
Evolving_grid::Nodes_key Esfem::Impl::get_vertexList (const std::string &filename)
 
std::size_t Esfem::Impl::get_relevant_precision (const Evolving_grid::Nodes_key &vertex_list)
 
Evolving_grid::Map Esfem::Impl::identity_map (const Evolving_grid::Nodes_key &, const std::size_t precision)
 
std::size_t Esfem::Impl::get_relevant_precision (const std::string &number)
 
std::vector< std::size_t > Esfem::Impl::create_precision_vec (const std::vector< std::string > &vertex_list)
 
std::size_t Esfem::Impl::max (const std::vector< std::size_t > &)
 
std::string Esfem::Impl::node_to_string (const Evolving_grid::Node &, const int precision)
 
Evolving_grid::Node Esfem::Impl::string_to_node (const std::string &)
 
std::string Esfem::Impl::normalize_node (const std::string &, const int precision)
 
std::string Esfem::Impl::clean_whitespace (const std::string &)
 
std::vector< std::string > Esfem::Impl::dgfFile_to_vec (const std::string &filename)
 
template<typename It >
It Esfem::Impl::dgf_find_vertex (It first, It last, const std::string &filename)
 
template<typename It >
It Esfem::Impl::dgf_close_list (It first, It last, const std::string &filename)
 

Detailed Description

Hash maps for evolving grids.

Revision history

 Revised by Christian Power June 2016
 Originally written by Christian Power
      (power22c@gmail.com) 25. Februar 2016
Author
Christian Power
Date
7. June 2016

Definition in file grid_GridAndTime_impl.h.