|
OpenBEM
Open-source framework for electromagnetic simulation with the boundary element method.
|
#include "quadrature/utility.hpp"#include <vector>#include <cmath>#include <fstream>#include <string>#include "external/json.hpp"#include "types.hpp"#include "constants.hpp"Go to the source code of this file.
Namespaces | |
| namespace | bem |
| Primary namespace for the OpenBEM library. | |
Typedefs | |
| using | json = nlohmann::json |
Functions | |
| bool | bem::compare_with_tol (const Complex val, const Complex val_ref, const Float tol=1e-3, const uint8_t mode=1) |
| Compares two complex numbers within a given tolerance based on a given rule. | |
| template<uint8_t dim> | |
| std::vector< QuadratureRule< dim > > | bem::load_rules (const std::string file, ConstEigRef< EigColVec< Index > > orders) |
| Loads quadrature rules from the specified json file assumed to be located in the same directory as this file. | |
| template std::vector< QuadratureRule< 1 > > | bem::load_rules (const std::string file, ConstEigRef< EigColVec< Index > > orders) |
Utility functions for quadrature.
Definition in file utility.cpp.
| using json = nlohmann::json |
Definition at line 30 of file utility.cpp.