BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
fn_mesh_config_tag.hpp File Reference
#include <cstdio>
#include <algorithm>
#include <string>
#include "typedefs.hpp"
#include "cl_Cell.hpp"
#include "cl_Vector.hpp"
#include "stringtools.hpp"
#include "cl_InputFile.hpp"
#include "fn_FEM_ghost_switch.hpp"
#include "cl_Input_Section.hpp"
Include dependency graph for fn_mesh_config_tag.hpp:

Go to the source code of this file.

Namespaces

namespace  belfem
 USER GUIDES:
namespace  belfem::fem
namespace  belfem::fem::maxwell
namespace  belfem::fem::maxwell::config_tag

Functions

uint64_t belfem::fem::maxwell::mesh_config_hash (const string &aText)
 The mesh CONFIGURATION tag: a fingerprint of the settings that decide how a .msh is turned into an enriched mesh – cuts, thin-shell layers, edge-coating walls, periodicity.
bool belfem::fem::maxwell::config_tag::looks_numeric (const string &aWord)
 True if the WHOLE word is a single decimal number.
string belfem::fem::maxwell::config_tag::value_to_canonical (const string &aString)
 Canonical form of one input value.
void belfem::fem::maxwell::config_tag::collect_section (const input::Section *aSection, const string &aPath, Cell< string > &aLines, const index_t aIndex=0)
 Emit every key of a section, then recurse into its subsections.
void belfem::fem::maxwell::config_tag::collect_terminals (const input::Section *aSection, const string &aPath, Cell< string > &aLines, const index_t aIndex=0)
 Collect the current-injection domains from a section tree.
void belfem::fem::maxwell::config_tag::collect_layers (const input::Section *aSection, Cell< string > &aLines)
 The layer stack of one thin shell.
string belfem::fem::maxwell::mesh_config_text (const InputFile &aInputFile)
 The canonical text behind the tag.
uint64_t belfem::fem::maxwell::mesh_config_tag (const InputFile &aInputFile)
 Convenience: the tag of an input file.