Medusa  1.1
Coordinate Free Mehless Method implementation
mm::VectorField< Scalar, dimension >::VectorFieldView Class Reference

Detailed Description

template<typename Scalar, int dimension>
class mm::VectorField< Scalar, dimension >::VectorFieldView

Represents a non contiguous view to a vector field.

Definition at line 79 of file VectorField_fwd.hpp.

+ Collaboration diagram for mm::VectorField< Scalar, dimension >::VectorFieldView:

Public Member Functions

void operator= (const Vec< scalar_t, dimension > &other)
 Assign a vector to this view. More...
 

Friends

class VectorField
 

Private Member Functions

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

Private Attributes

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

Constructor & Destructor Documentation

◆ VectorFieldView()

template<typename Scalar , int dimension>
mm::VectorField< Scalar, dimension >::VectorFieldView::VectorFieldView ( VectorField sf,
const indexes_t indexes 
)
inlineprivate

Construct a non contiguous view to a scalar field.

Definition at line 84 of file VectorField_fwd.hpp.

Member Function Documentation

◆ operator=()

template<typename Scalar , int dimension>
void mm::VectorField< Scalar, dimension >::VectorFieldView::operator= ( const Vec< scalar_t, dimension > &  other)
inline

Assign a vector to this view.

Definition at line 87 of file VectorField_fwd.hpp.

Member Data Documentation

◆ indexes

template<typename Scalar , int dimension>
const indexes_t& mm::VectorField< Scalar, dimension >::VectorFieldView::indexes
private

Indexes of this view.

Definition at line 81 of file VectorField_fwd.hpp.

◆ sf

template<typename Scalar , int dimension>
VectorField& mm::VectorField< Scalar, dimension >::VectorFieldView::sf
private

Reference to the viewed field.

Definition at line 80 of file VectorField_fwd.hpp.


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