Medusa  1.1
Coordinate Free Mehless Method implementation
mm::ScalarField< Scalar >::ScalarFieldView Class Reference

Detailed Description

template<typename Scalar>
class mm::ScalarField< Scalar >::ScalarFieldView

Represents a non contiguous view to a scalar field.

Definition at line 42 of file ScalarField_fwd.hpp.

+ Collaboration diagram for mm::ScalarField< Scalar >::ScalarFieldView:

Public Member Functions

void operator= (const scalar_t &s)
 Assign a scalar to this view. More...
 
template<typename OtherDerived >
void operator= (const Eigen::MatrixBase< OtherDerived > &other)
 Assign another Eigen expression to this view. More...
 
void operator= (const ScalarFieldView &other)
 Assign another ScalarFieldView. More...
 

Friends

class ScalarField
 

Private Member Functions

 ScalarFieldView (ScalarField &sf, const indexes_t &indexes)
 Construct a non contiguous view to a scalar field. More...
 

Private Attributes

ScalarFieldsf
 Reference to the viewed field. More...
 
const indexes_tindexes
 Indexes of this view. More...
 

Constructor & Destructor Documentation

◆ ScalarFieldView()

template<typename Scalar >
mm::ScalarField< Scalar >::ScalarFieldView::ScalarFieldView ( ScalarField sf,
const indexes_t indexes 
)
inlineprivate

Construct a non contiguous view to a scalar field.

Definition at line 47 of file ScalarField_fwd.hpp.

Member Function Documentation

◆ operator=() [1/3]

template<typename Scalar >
template<typename OtherDerived >
void mm::ScalarField< Scalar >::ScalarFieldView::operator= ( const Eigen::MatrixBase< OtherDerived > &  other)
inline

Assign another Eigen expression to this view.

Definition at line 55 of file ScalarField_fwd.hpp.

◆ operator=() [2/3]

template<typename Scalar >
void mm::ScalarField< Scalar >::ScalarFieldView::operator= ( const scalar_t s)
inline

Assign a scalar to this view.

Definition at line 50 of file ScalarField_fwd.hpp.

◆ operator=() [3/3]

template<typename Scalar >
void mm::ScalarField< Scalar >::ScalarFieldView::operator= ( const ScalarFieldView other)
inline

Assign another ScalarFieldView.

Warning
Aliasing may occur.

Definition at line 59 of file ScalarField_fwd.hpp.

Member Data Documentation

◆ indexes

template<typename Scalar >
const indexes_t& mm::ScalarField< Scalar >::ScalarFieldView::indexes
private

Indexes of this view.

Definition at line 44 of file ScalarField_fwd.hpp.

◆ sf

template<typename Scalar >
ScalarField& mm::ScalarField< Scalar >::ScalarFieldView::sf
private

Reference to the viewed field.

Definition at line 43 of file ScalarField_fwd.hpp.


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