ExtractedComponentsFunction< dim, number > Class Template Reference

Developer Documentation: MeltPoolDG::Functions::ExtractedComponentsFunction< dim, number > Class Template Reference
Developer Documentation
MeltPoolDG::Functions::ExtractedComponentsFunction< dim, number > Class Template Reference

Extracts a subset of components from a multi-component function. More...

#include <functions.hpp>

Inheritance diagram for MeltPoolDG::Functions::ExtractedComponentsFunction< dim, number >:
[legend]
Collaboration diagram for MeltPoolDG::Functions::ExtractedComponentsFunction< dim, number >:
[legend]

Public Member Functions

 ExtractedComponentsFunction (const dealii::Function< dim, number > &base_function, const unsigned int start_component, const unsigned int n_components)
 
number value (const dealii::Point< dim > &p, const unsigned int component=0) const override
 

Private Attributes

const dealii::Function< dim, number > & base_function
 
const unsigned int start
 
const unsigned int n_components
 

Detailed Description

template<int dim, typename number>
class MeltPoolDG::Functions::ExtractedComponentsFunction< dim, number >

Extracts a subset of components from a multi-component function.

This class provides a view onto a subset of components of a given base function, starting at a specified index and exposing a reduced number of components.

Constructor & Destructor Documentation

◆ ExtractedComponentsFunction()

template<int dim, typename number >
MeltPoolDG::Functions::ExtractedComponentsFunction< dim, number >::ExtractedComponentsFunction ( const dealii::Function< dim, number > &  base_function,
const unsigned int  start_component,
const unsigned int  n_components 
)
inline

Member Function Documentation

◆ value()

template<int dim, typename number >
number MeltPoolDG::Functions::ExtractedComponentsFunction< dim, number >::value ( const dealii::Point< dim > &  p,
const unsigned int  component = 0 
) const
inlineoverride

Member Data Documentation

◆ base_function

template<int dim, typename number >
const dealii::Function<dim, number>& MeltPoolDG::Functions::ExtractedComponentsFunction< dim, number >::base_function
private

◆ n_components

template<int dim, typename number >
const unsigned int MeltPoolDG::Functions::ExtractedComponentsFunction< dim, number >::n_components
private

◆ start

template<int dim, typename number >
const unsigned int MeltPoolDG::Functions::ExtractedComponentsFunction< dim, number >::start
private

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