COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Public Member Functions | Public Attributes | List of all members
BlockAccumulator Class Reference

#include <BlockAccumulator.hpp>

Public Member Functions

void resize (Uint numnodes, Uint numeqs)
 setting up sizes More...
 
void reset (Real reset_to=0.)
 reset the values to the value of reset_to More...
 
template<typename T >
void neighbour_indices (const T &idx_vector)
 entering the indices where the local matrix is lying More...
 
Uint size () const
 how many rows/columns More...
 
Uint block_size () const
 how many rows/columns More...
 

Public Attributes

Eigen::Matrix< Real, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > mat
 
RealVector sol
 accessor to blockaccumulator's solution vector More...
 
RealVector rhs
 accessor to blockaccumulator's right hand side vector More...
 
std::vector< Uintindices
 local numbering of the unknowns More...
 

Detailed Description

Definition at line 28 of file BlockAccumulator.hpp.

Member Function Documentation

Uint block_size ( ) const
inline

how many rows/columns

Definition at line 61 of file BlockAccumulator.hpp.

void neighbour_indices ( const T &  idx_vector)
inline

entering the indices where the local matrix is lying

Definition at line 50 of file BlockAccumulator.hpp.

void reset ( Real  reset_to = 0.)
inline

reset the values to the value of reset_to

Definition at line 42 of file BlockAccumulator.hpp.

void resize ( Uint  numnodes,
Uint  numeqs 
)
inline

setting up sizes

Definition at line 32 of file BlockAccumulator.hpp.

Uint size ( ) const
inline

how many rows/columns

Definition at line 58 of file BlockAccumulator.hpp.

Member Data Documentation

std::vector<Uint> indices

local numbering of the unknowns

Definition at line 74 of file BlockAccumulator.hpp.

Eigen::Matrix<Real, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor> mat

accessor to blockaccumulator's RealMatrix Note: TrilinosCrsMatrix assumes row-major storage order here!

Definition at line 61 of file BlockAccumulator.hpp.

accessor to blockaccumulator's right hand side vector

Definition at line 71 of file BlockAccumulator.hpp.

accessor to blockaccumulator's solution vector

Definition at line 68 of file BlockAccumulator.hpp.


The documentation for this class was generated from the following file:
Send comments to:
COOLFluiD Web Admin