Canoe
Comprehensive Atmosphere N' Ocean Engine
|
#include <Variable.h>
Public Member Functions | |
Variable () | |
template<typename OtherDerived > | |
Variable (const Eigen::DenseBase< OtherDerived > &other) | |
template<typename OtherDerived > | |
Variable & | operator= (const Eigen::ArrayBase< OtherDerived > &other) |
Variable (const Variable &other) | |
Variable & | operator= (const Variable &other) |
Variable (const RectGrid< Scalar, Dimension > &grid, std::string name="", std::string longname="", std::string units="") | |
void | set_boundary (int id, BoundaryType type, Scalar value) |
void | write_binary (const char *filename) const |
void | write_file (const char *filename) const |
void | finish () |
const dealii::SparseMatrix< Scalar > & | neumann () const |
const dealii::Vector< Scalar > & | dirichlet () const |
Eigen::Block< Base > & | val () |
Scalar & | val (int i, int j) |
const Eigen::Block< Base > & | val () const |
const Scalar & | val (int i, int j) const |
std::string | get_name () const |
std::string | get_longname () const |
std::string | get_units () const |
Protected Types | |
enum | { Dimension = 2 } |
typedef _Scalar | Scalar |
typedef Eigen::Array< Scalar, Eigen::Dynamic, Eigen::Dynamic > | Base |
Protected Attributes | |
const RectGrid< Scalar, Dimension > & | m_grid |
Eigen::Block< Base > | m_value |
std::string | m_name |
std::string | m_longname |
std::string | m_units |
std::array< BoundaryInfo< Scalar >, 4 > | m_boundary |
dealii::SparsityPattern | m_pattern |
dealii::SparseMatrix< Scalar > | m_neumann |
dealii::Vector< Scalar > | m_dirichlet |
Friends | |
template<typename STREAM > | |
STREAM & | operator<< (STREAM &os, const Variable &var) |
Definition at line 19 of file Variable.h.
Definition at line 42 of file Variable.h.
|
protected |
Definition at line 43 of file Variable.h.
|
protected |
Enumerator | |
---|---|
Dimension |
Definition at line 44 of file Variable.h.
Definition at line 61 of file Variable.h.
|
inlineexplicit |
Definition at line 64 of file Variable.h.
|
inline |
Definition at line 73 of file Variable.h.
|
inline |
Definition at line 95 of file Variable.h.
|
inline |
Definition at line 68 of file Variable.h.
|
inline |
Definition at line 90 of file Variable.h.
|
inline |
Definition at line 112 of file Variable.h.
|
inline |
Definition at line 121 of file Variable.h.
|
inline |
Definition at line 134 of file Variable.h.
void Variable< _Scalar, 2 >::finish |
Definition at line 165 of file Variable.h.
|
inline |
Definition at line 145 of file Variable.h.
|
inline |
Definition at line 147 of file Variable.h.
Definition at line 149 of file Variable.h.
Definition at line 151 of file Variable.h.
Definition at line 153 of file Variable.h.
Definition at line 155 of file Variable.h.
|
inline |
Definition at line 157 of file Variable.h.
|
inline |
Definition at line 159 of file Variable.h.
|
inline |
Definition at line 161 of file Variable.h.
|
friend |
Definition at line 22 of file Variable.h.
|
protected |
Definition at line 46 of file Variable.h.
Definition at line 48 of file Variable.h.
|
protected |
Definition at line 50 of file Variable.h.
|
protected |
Definition at line 50 of file Variable.h.
|
protected |
Definition at line 50 of file Variable.h.
|
protected |
Definition at line 52 of file Variable.h.
|
protected |
Definition at line 54 of file Variable.h.
|
protected |
Definition at line 56 of file Variable.h.
Definition at line 58 of file Variable.h.