Evolving surface finite element method  v0.3.0-14-g3598512
Numerical experiments for my papers
Classes | Public Member Functions | Private Types | Private Attributes | Static Private Attributes | List of all members
Esfem::Impl::hash::grid Class Reference

Evolution via a hash map. More...

#include <grid_GridAndTime_impl.h>

Classes

struct  bad
 Reports errors. More...
 

Public Member Functions

 grid ()=default
 Empty map.
 
 grid (const std::string &fname)
 Read first list from file name.
 
 grid (const Grid::Vec_FEfun &init_keys)
 Get first list. More...
 
gridoperator= (const Grid::Vec_FEfun &value_list)
 Get new list.
 
const rangeoperator[] (const range &) const
 Checked access. More...
 

Private Types

using map = std::unordered_map< key, range >
 Hash map type.
 
using seq = std::vector< key >
 Sequence.
 

Private Attributes

map m
 Map.
 
seq ol
 Original list.
 

Static Private Attributes

static constexpr auto dim = range::dimension
 Short alias for dimension.
 

Detailed Description

Evolution via a hash map.

I use boost functions to combine hash values of doubles.

Definition at line 139 of file grid_GridAndTime_impl.h.

Constructor & Destructor Documentation

grid::grid ( const Grid::Vec_FEfun init_keys)
explicit

Get first list.

Remarks
Use Lagrange interpolation of the identity.

Definition at line 268 of file grid_GridAndTime_impl.cpp.

Member Function Documentation

auto grid::operator[] ( const range k) const

Checked access.

Exceptions
badas a nested object if the point does not exists

Definition at line 299 of file grid_GridAndTime_impl.cpp.


The documentation for this class was generated from the following files: