MCPcopy Create free account
hub / github.com/FEniCS/dolfinx / get

Method get

cpp/dolfinx/common/Table.cpp:55–67  ·  view source on GitHub ↗

-----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

53}
54//-----------------------------------------------------------------------------
55std::variant<std::string, int, double> Table::get(const std::string& row,
56 const std::string& col) const
57{
58 std::pair<std::string, std::string> key(row, col);
59 auto it = _values.find(key);
60 if (it == _values.end())
61 {
62 throw std::runtime_error("Missing table value for entry (\"" + row
63 + "\", \"" + col + "\")");
64 }
65
66 return it->second;
67}
68//-----------------------------------------------------------------------------
69Table Table::reduce(MPI_Comm comm, Table::Reduction reduction) const
70{

Callers 15

interpolateMethod · 0.45
discrete_gradientFunction · 0.45
tabulate_expressionFunction · 0.45
pack_coefficientsFunction · 0.45
pack_constantsFunction · 0.45
create_vector_blockMethod · 0.45
locate_dofs_geometricalFunction · 0.45
apply_liftingFunction · 0.45
assemble_matrixFunction · 0.45
set_diagonalFunction · 0.45

Calls 1

findMethod · 0.45

Tested by

no test coverage detected