Manicore
Library to implement schemes on n-dimensionnal manifolds.
Public Member Functions | Public Attributes | List of all members
Manicore::MaxwellVector Struct Reference

Construct a convenient wrapper around a vector of global unknowns to manipulate individual components. More...

#include <maxwell.hpp>

Public Member Functions

 MaxwellVector (MaxwellProblem const &maxwell)
 
MaxwellVectoroperator= (const MaxwellVector &other)
 Copy another MaxwellVector. More...
 
MaxwellVectoroperator= (const Eigen::VectorXd &other)
 Assign a vector of global unknowns. More...
 
Eigen::VectorBlock< Eigen::VectorXd > h ()
 Return the harmonic part. More...
 
Eigen::VectorBlock< Eigen::VectorXd > G ()
 Return the ghost part. More...
 
Eigen::VectorBlock< Eigen::VectorXd > E ()
 Return the electric part. More...
 
Eigen::VectorBlock< Eigen::VectorXd > B ()
 Return the magnetic part. More...
 

Public Attributes

Eigen::VectorXd u
 
int sizeG
 
int sizeE
 
int sizeB
 
int offsetG
 
int offsetE
 
int offsetB
 

Detailed Description

Construct a convenient wrapper around a vector of global unknowns to manipulate individual components.

Constructor & Destructor Documentation

◆ MaxwellVector()

Manicore::MaxwellVector::MaxwellVector ( MaxwellProblem const &  maxwell)
inline
Parameters
maxwellAssociated maxwell problem

Member Function Documentation

◆ B()

Eigen::VectorBlock<Eigen::VectorXd> Manicore::MaxwellVector::B ( )
inline

Return the magnetic part.

◆ E()

Eigen::VectorBlock<Eigen::VectorXd> Manicore::MaxwellVector::E ( )
inline

Return the electric part.

◆ G()

Eigen::VectorBlock<Eigen::VectorXd> Manicore::MaxwellVector::G ( )
inline

Return the ghost part.

◆ h()

Eigen::VectorBlock<Eigen::VectorXd> Manicore::MaxwellVector::h ( )
inline

Return the harmonic part.

◆ operator=() [1/2]

MaxwellVector& Manicore::MaxwellVector::operator= ( const Eigen::VectorXd &  other)
inline

Assign a vector of global unknowns.

◆ operator=() [2/2]

MaxwellVector& Manicore::MaxwellVector::operator= ( const MaxwellVector other)
inline

Copy another MaxwellVector.

Member Data Documentation

◆ offsetB

int Manicore::MaxwellVector::offsetB

◆ offsetE

int Manicore::MaxwellVector::offsetE

◆ offsetG

int Manicore::MaxwellVector::offsetG

◆ sizeB

int Manicore::MaxwellVector::sizeB

◆ sizeE

int Manicore::MaxwellVector::sizeE

◆ sizeG

int Manicore::MaxwellVector::sizeG

◆ u

Eigen::VectorXd Manicore::MaxwellVector::u

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