Skip to content

Class ae108::cpppetsc::Matrix::AssemblyView

ClassList > ae108 > cpppetsc > Matrix > AssemblyView

Classes

Type Name
class Inserter <Mode>
Provides element() and elements() access functions to set/add single/multiple elements. These calls can be chained (matrix is a Matrix object):

Public Functions

Type Name
AssemblyView (std::shared_ptr< Matrix > matrix)
Inserter< ADD_VALUES > add () const
Add elements to current elements. See the documentation of the Inserter class for more information on how to use the return value.
Inserter< INSERT_VALUES > replace () const
Replace elements with different elements. See the documentation of the Inserter class for more information on how to use the return value.

Public Functions Documentation

function AssemblyView

explicit ae108::cpppetsc::Matrix::AssemblyView::AssemblyView (
    std::shared_ptr< Matrix > matrix
) 

Parameters:

  • matrix nonzero pointer to a Matrix

function add

Add elements to current elements. See the documentation of the Inserter class for more information on how to use the return value.

Inserter < ADD_VALUES > ae108::cpppetsc::Matrix::AssemblyView::add () const

Remark:

Automatically broadcasts changes. Do not use add and replace Inserters at the same time.


function replace

Replace elements with different elements. See the documentation of the Inserter class for more information on how to use the return value.

Inserter < INSERT_VALUES > ae108::cpppetsc::Matrix::AssemblyView::replace () const

Remark:

Automatically broadcasts changes. Do not use add and replace Inserters at the same time.



The documentation for this class was generated from the following file cpppetsc/src/include/ae108/cpppetsc/Matrix.h