hexed 0.3.0
 
Loading...
Searching...
No Matches
hexed::Row_rw< n_var, row_size > Class Template Reference

"row read/write" More...

#include <Row_rw.hpp>

Public Types

typedef Mat< row_size, n_var > Row
 
typedef Mat< 2, n_var > Bound
 

Public Member Functions

 Row_rw ()=delete
 since this class is used as a templated namespace, its constructors are deleted
 
 Row_rw (const Row_rw &)=delete
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
 Row_rw (Row_rw &&)=delete
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 

Static Public Member Functions

static Row read_row (const double *data, Row_index ind)
 reads from a row of quadrature points
 
static void write_row (Row w, double *data, Row_index ind, double coef)
 multiples a row of values by coef and then adds the values in w to it (basically a row-wise axpy)
 
static Bound read_bound (const std::array< double *, 6 > faces, Row_index ind)
 reads from the face values associated with a given row
 
static void write_bound (Bound b, std::array< double *, 6 > faces, Row_index ind)
 writes the values in b to the face data associated with the specified row
 

Detailed Description

template<int n_var, int row_size>
class hexed::Row_rw< n_var, row_size >

"row read/write"

Can read/write to/from a row of quadrature points in an element and/or the associated face quadrature points. This class has only static members, so it is basically just a templated namespace. Note that the dimensionality of the element data is determined by the Row_index argument to the member functions, not inferred from n_var (which is arbitrary regardless of dimensionality).


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