IFEM  90A354
Functions
DenseMatrix.C File Reference

Dense system matrix representation. More...

#include "DenseMatrix.h"
#include "SparseMatrix.h"
#include "SAM.h"
#include "LAPack.h"
#include <fstream>
#include <sstream>
Include dependency graph for DenseMatrix.C:

Functions

static void assemDense (const Matrix &eM, Matrix &SM, Vector &SV, const IntVec &meen, const int *meqn, const int *mpmceq, const int *mmceq, const Real *ttcc)
 This is a C++ version of the F77 subroutine ADDEM2 (SAM library). More...
 
DenseMatrix operator* (Real alpha, const DenseMatrix &A)
 Multiply a matrix with a scalar. More...
 
DenseMatrix operator* (const DenseMatrix &A, Real alpha)
 Multiply a matrix with a scalar. More...
 

Detailed Description

Dense system matrix representation.

Date
Jan 4 2008
Author
Knut Morten Okstad / SINTEF

Function Documentation

◆ assemDense()

static void assemDense ( const Matrix eM,
Matrix SM,
Vector SV,
const IntVec meen,
const int *  meqn,
const int *  mpmceq,
const int *  mmceq,
const Real ttcc 
)
static

This is a C++ version of the F77 subroutine ADDEM2 (SAM library).

It performs exactly the same tasks, except that NRHS always is 1.

References utl::vector< T >::empty(), and Real.

Referenced by DenseMatrix::assemble().

◆ operator*() [1/2]

DenseMatrix operator* ( const DenseMatrix A,
Real  alpha 
)

Multiply a matrix with a scalar.

Parameters
[in]AThe matrix to scale
[in]alphaScalar value

References DenseMatrix::getMat().

◆ operator*() [2/2]

DenseMatrix operator* ( Real  alpha,
const DenseMatrix A 
)

Multiply a matrix with a scalar.

Parameters
[in]alphaScalar value
[in]AThe matrix to scale

References DenseMatrix::getMat().