NiHu  2.0
NiHu::fmm::helmholtz_3d_hf_level_data Class Reference

level data of the helmholtz 3d hf fmm More...

#include <helmholtz_3d_hf_level_data.h>

Public Types

typedef Eigen::Matrix< std::complex< double >, Eigen::Dynamic, 1 > cvector_t
 complex dynamic Eigen vector
 

Public Member Functions

 helmholtz_3d_hf_level_data ()
 constructor Sets vectors to size 1, as they need to be expanded based on first element
 
void set_expansion_length (size_t L)
 set the expansion length More...
 
size_t get_expansion_length () const
 return the expansion length More...
 
const unit_sphereget_unit_sphere () const
 return the stored unit sphere More...
 
void set_num_threads (size_t n)
 set the number of threads More...
 
const cvector_tinterp_up (cvector_t const &x) const
 interpolate a function on the unit sphere up to this level More...
 
const cvector_tinterp_down (cvector_t const &x) const
 interpolate a function on the unit sphere down to this level More...
 
void set_interp_up (interpolator const &interp)
 set the up-interpolator object (for all threads) More...
 
void set_interp_dn (interpolator const &interp)
 set the down-interpolator object (for all threads) More...
 

Detailed Description

level data of the helmholtz 3d hf fmm

Definition at line 23 of file helmholtz_3d_hf_level_data.h.

Member Function Documentation

◆ get_expansion_length()

size_t NiHu::fmm::helmholtz_3d_hf_level_data::get_expansion_length ( ) const

return the expansion length

Returns
the expansion length

Definition at line 26 of file helmholtz_3d_hf_level_data.cpp.

◆ get_unit_sphere()

const unit_sphere & NiHu::fmm::helmholtz_3d_hf_level_data::get_unit_sphere ( ) const

return the stored unit sphere

Returns
the stored unit sphere

Definition at line 21 of file helmholtz_3d_hf_level_data.cpp.

◆ interp_down()

const helmholtz_3d_hf_level_data::cvector_t & NiHu::fmm::helmholtz_3d_hf_level_data::interp_down ( cvector_t const &  x) const

interpolate a function on the unit sphere down to this level

Parameters
[in]xthe function to be interpolated
Returns
the interpolated function

Definition at line 45 of file helmholtz_3d_hf_level_data.cpp.

◆ interp_up()

const helmholtz_3d_hf_level_data::cvector_t & NiHu::fmm::helmholtz_3d_hf_level_data::interp_up ( cvector_t const &  x) const

interpolate a function on the unit sphere up to this level

Parameters
[in]xthe function to be interpolated
Returns
the interpolated function

Definition at line 38 of file helmholtz_3d_hf_level_data.cpp.

◆ set_expansion_length()

void NiHu::fmm::helmholtz_3d_hf_level_data::set_expansion_length ( size_t  L)

set the expansion length

Parameters
[in]Lthe expansion length

Definition at line 14 of file helmholtz_3d_hf_level_data.cpp.

◆ set_interp_dn()

void NiHu::fmm::helmholtz_3d_hf_level_data::set_interp_dn ( interpolator const &  interp)

set the down-interpolator object (for all threads)

Parameters
[in]interpthe interpolator

Definition at line 57 of file helmholtz_3d_hf_level_data.cpp.

◆ set_interp_up()

void NiHu::fmm::helmholtz_3d_hf_level_data::set_interp_up ( interpolator const &  interp)

set the up-interpolator object (for all threads)

Parameters
[in]interpthe interpolator

Definition at line 51 of file helmholtz_3d_hf_level_data.cpp.

◆ set_num_threads()

void NiHu::fmm::helmholtz_3d_hf_level_data::set_num_threads ( size_t  n)

set the number of threads

Parameters
[in]nnumber of threads

Definition at line 31 of file helmholtz_3d_hf_level_data.cpp.


The documentation for this class was generated from the following files: