OpenBEM
Open-source framework for electromagnetic simulation with the boundary element method.
Loading...
Searching...
No Matches
utility.hpp File Reference
#include <vector>
#include <string>
#include "types.hpp"
#include "quadrature/utility.cpp"

Go to the source code of this file.

Classes

struct  bem::QuadratureRule< dim >
 Data structure defining a quadrature rule. More...
 

Namespaces

namespace  bem
 Primary namespace for the OpenBEM library.
 

Macros

#define BEM_INLINE   inline
 

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.
 

Detailed Description

Utility functions for quadrature.

Definition in file utility.hpp.

Macro Definition Documentation

◆ BEM_INLINE

#define BEM_INLINE   inline

Definition at line 27 of file utility.hpp.