NiHu  2.0

Class NiHu::fmm::fmm_matrix. More...

#include "cluster_tree.hpp"
#include "fmm_operator_collection.hpp"
#include "fmm_timer.h"
#include "lists.hpp"
#include "util/matrix_traits.hpp"
#include <mex.h>
#include <algorithm>
#include <vector>
Include dependency graph for fmm_matrix.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  NiHu::fmm::fmm_matrix< P2P, P2M, P2L, M2P, L2P, M2M, L2L, M2L >
 Matrix representation of the FMM method. More...
 

Macros

#define mexForcedPrintf(text)   std::cout << text
 

Functions

template<class P2P , class P2M , class P2L , class M2P , class L2P , class M2M , class L2L , class M2L , class Cluster >
fmm_matrix< P2P, P2M, P2L, M2P, L2P, M2M, L2L, M2L > NiHu::fmm::create_fmm_matrix (P2P &&p2p, P2M &&p2m, P2L &&p2l, M2P &&m2p, L2P &&l2p, M2M &&m2m, L2L &&l2l, M2L &&m2l, cluster_tree< Cluster > const &tree, interaction_lists const &lists)
 factory function to create an fmm_matrix object More...
 
template<class Cluster , class ... CollOps>
auto NiHu::fmm::create_fmm_matrix (fmm_operator_collection< CollOps... > const &collection, cluster_tree< Cluster > const &tree, interaction_lists const &lists)
 Factory function to create fmm_matrix from an operator collection. More...
 

Detailed Description

Class NiHu::fmm::fmm_matrix.

Definition in file fmm_matrix.hpp.

Function Documentation

◆ create_fmm_matrix() [1/2]

template<class Cluster , class ... CollOps>
auto NiHu::fmm::create_fmm_matrix ( fmm_operator_collection< CollOps... > const &  collection,
cluster_tree< Cluster > const &  tree,
interaction_lists const &  lists 
)

Factory function to create fmm_matrix from an operator collection.

Template Parameters
ClusterCluster type
...CollOpsOperator types stored in collection
Parameters
[in]collectionFMM operator collection
[in]treeCluster tree
[in]listsInteraction lists

Definition at line 660 of file fmm_matrix.hpp.

◆ create_fmm_matrix() [2/2]

template<class P2P , class P2M , class P2L , class M2P , class L2P , class M2M , class L2L , class M2L , class Cluster >
fmm_matrix<P2P, P2M, P2L, M2P, L2P, M2M, L2L, M2L> NiHu::fmm::create_fmm_matrix ( P2P &&  p2p,
P2M &&  p2m,
P2L &&  p2l,
M2P &&  m2p,
L2P &&  l2p,
M2M &&  m2m,
L2L &&  l2l,
M2L &&  m2l,
cluster_tree< Cluster > const &  tree,
interaction_lists const &  lists 
)

factory function to create an fmm_matrix object

Parameters
[in]p2pthe P2P operator object
[in]p2mthe P2M operator object
[in]p2lthe P2L operator object
[in]m2pthe M2P operator object
[in]l2pthe L2P operator object
[in]m2mthe M2M operator object
[in]l2lthe L2L operator object
[in]m2lthe M2L operator object
[in]treethe cluster tree
[in]liststhe interaction lists

Definition at line 626 of file fmm_matrix.hpp.