FEAT 3
Finite Element Analysis Toolbox
Loading...
Searching...
No Matches
FEAT::Assembly::LinearFunctionalAssembler Class Reference

Linear Functional Assembly class template. More...

#include <linear_functional_assembler.hpp>

Static Public Member Functions

template<typename Vector_ , typename Functional_ , typename CubatureFactory_ , typename Space_ >
static void assemble_vector (Vector_ &vector, const Functional_ &functional, const Space_ &space, const CubatureFactory_ &cubature_factory, typename Vector_::DataType alpha=typename Vector_::DataType(1))
 Assembles a linear functional into a vector. More...
 

Detailed Description

Linear Functional Assembly class template.

This class template implements the assembly of a linear functional into a vector.

Author
Peter Zajac

Definition at line 22 of file linear_functional_assembler.hpp.

Member Function Documentation

◆ assemble_vector()

template<typename Vector_ , typename Functional_ , typename CubatureFactory_ , typename Space_ >
static void FEAT::Assembly::LinearFunctionalAssembler::assemble_vector ( Vector_ &  vector,
const Functional_ &  functional,
const Space_ &  space,
const CubatureFactory_ &  cubature_factory,
typename Vector_::DataType  alpha = typename Vector_::DataType(1) 
)
inlinestatic

Assembles a linear functional into a vector.

Parameters
[in,out]vectorA transient reference to the vector that is to be assembled.
[in]functionalA transient reference to the linear functional implementing the LinearFunctional interface to be assembled.
[in]spaceA transient reference to the finite-element (test) space to be used.
[in]cubature_factoryA reference to the cubature factory to be used for integration.
[in]alphaThe scaling factor for the linear functional.

Definition at line 48 of file linear_functional_assembler.hpp.

References FEAT::Tiny::axpy(), and XASSERTM.

Referenced by FEAT::Assembly::MeanFilterAssembler::assemble().


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