Ensign
Low-rank framework for multi-core CPUs and GPUs
Loading...
Searching...
No Matches
Ensign::external_node< T > Struct Template Reference

Represents a leaf tree node with a basis matrix. More...

#include <tree.hpp>

+ Inheritance diagram for Ensign::external_node< T >:

Public Member Functions

 external_node (const std::string _id, internal_node< T > *const _parent, const Index _dx, const Index _r_in, const Index _n_basisfunctions)
 
bool IsInternal () const override
 
bool IsExternal () const override
 
Index ProblemSize () const
 
void Initialize (int ncid) override
 
void Write (int ncid, int id_r_in, int id_dx) const
 
Ensign::multi_array< T, 2 > orthogonalize (const T weight, const Ensign::Matrix::blas_ops &blas)
 
- Public Member Functions inherited from Ensign::node< T >
 node ()=default
 
 node (const std::string _id, node *const _parent, std::array< node *, 2 > _child, const Index _r_in, const Index _n_basisfunctions)
 
virtual ~node ()=default
 
Index RankIn () const
 

Public Attributes

Ensign::multi_array< T, 2 > X
 
- Public Attributes inherited from Ensign::node< T >
const std::string id
 
node *const parent
 
std::array< node *, 2 > child
 
const Index n_basisfunctions
 
Ensign::multi_array< T, 2 > S
 

Detailed Description

template<class T>
struct Ensign::external_node< T >

Represents a leaf tree node with a basis matrix.

Definition at line 96 of file tree.hpp.

Constructor & Destructor Documentation

◆ external_node()

template<class T >
Ensign::external_node< T >::external_node ( const std::string  _id,
internal_node< T > *const  _parent,
const Index  _dx,
const Index  _r_in,
const Index  _n_basisfunctions 
)
inline

Definition at line 99 of file tree.hpp.

Member Function Documentation

◆ Initialize()

template<class T >
void Ensign::external_node< T >::Initialize ( int  ncid)
overridevirtual

Implements Ensign::node< T >.

◆ IsExternal()

template<class T >
bool Ensign::external_node< T >::IsExternal ( ) const
inlineoverridevirtual

Implements Ensign::node< T >.

Definition at line 108 of file tree.hpp.

◆ IsInternal()

template<class T >
bool Ensign::external_node< T >::IsInternal ( ) const
inlineoverridevirtual

Implements Ensign::node< T >.

Definition at line 106 of file tree.hpp.

◆ orthogonalize()

template<class T >
Ensign::multi_array< T, 2 > Ensign::external_node< T >::orthogonalize ( const T  weight,
const Ensign::Matrix::blas_ops &  blas 
)

Definition at line 134 of file tree.hpp.

◆ ProblemSize()

template<class T >
Index Ensign::external_node< T >::ProblemSize ( ) const
inline

Definition at line 110 of file tree.hpp.

◆ Write()

template<class T >
void Ensign::external_node< T >::Write ( int  ncid,
int  id_r_in,
int  id_dx 
) const

Member Data Documentation

◆ X

template<class T >
Ensign::multi_array<T, 2> Ensign::external_node< T >::X

Definition at line 97 of file tree.hpp.


The documentation for this struct was generated from the following file: