Template Class Mesh3

Inheritance Relationships

Derived Type

Class Documentation

template<class T, class S>
class brille::Mesh3

Subclassed by brille::BrillouinZoneMesh3< T, S >

Public Functions

Mesh3(const bArray<double> &verts, const std::vector<std::vector<int>> &facets, const double max_volume = -1.0, const int num_levels = 3, const int max_points = -1)
Mesh3(const Mesh3<T, S> &other)
Mesh3<T, S> &operator=(const Mesh3<T, S> &other)
ind_t size() const

Return the number of mesh vertices.

ind_t vertex_count() const

Return the number of mesh vertices.

const bArray<double> &get_mesh_xyz() const

Return the positions of all vertices in the mesh.

const bArray<ind_t> &get_mesh_tetrehedra() const

Return the tetrahedron indices of the mesh.

const data_t &data(void) const
template<typename ...A>
void replace_data(A... args)
template<typename ...A>
void replace_value_data(A... args)
template<typename ...A>
void replace_vector_data(A... args)
template<typename ...A>
void set_value_cost_info(A... args)
template<typename ...A>
void set_vector_cost_info(A... args)
size_t bytes_per_point() const

Return the number of bytes used per Q point.

template<template<class> class A>
brille::Array<double> debye_waller(const A<double> &Qpts, const std::vector<double> &Masses, const double t_K) const
template<class R>
unsigned int check_before_interpolating(const bArray<R> &x) const

Perform sanity checks before attempting to interpolate.

template<class R>
std::tuple<brille::Array<T>, brille::Array<S>> interpolate_at(const LQVec<R> &x) const

Perform linear interpolation at the specified Reciprocal lattice points.

template<class R>
std::tuple<brille::Array<T>, brille::Array<S>> interpolate_at(const bArray<R> &x) const

Perform linear interpolating at the specified points in the mesh’s orthonormal frame.

template<class R>
std::tuple<brille::Array<T>, brille::Array<S>> parallel_interpolate_at(const bArray<R> &x, const int nthreads) const
std::string to_string(void) const

Return the neighbours for which a passed boolean array holds true.

void sort()

Protected Attributes

TetTri mesh
data_t data_