Flow123d  DF_patch_fe_data_tables-586fb30
Public Member Functions | Private Attributes | Friends | List of all members
LocalConstraint Class Reference

#include <local_constraint.hh>

Public Member Functions

 LocalConstraint ()
 Default constructor. More...
 
 LocalConstraint (uint i_elm, uint loc_dof, double solution, double diag=0.0)
 Constructor. Set all data of local constraint. More...
 
void set_row (uint i_elm, uint loc_dof, double solution, double diag=0.0)
 Set only row data to constraint. More...
 
void set_col (uint i_elm, uint loc_dof, double solution)
 Set only column data to constraint. More...
 
uint i_element () const
 Getter to i_element. More...
 
bool operator< (const LocalConstraint &other)
 

Private Attributes

ConstraintType type_
 
uint i_element_
 
uint loc_dof_
 
double solution_
 
double diag_
 

Friends

class LocalSystem
 

Detailed Description

Definition at line 34 of file local_constraint.hh.

Constructor & Destructor Documentation

◆ LocalConstraint() [1/2]

LocalConstraint::LocalConstraint ( )
inline

Default constructor.

Definition at line 38 of file local_constraint.hh.

◆ LocalConstraint() [2/2]

LocalConstraint::LocalConstraint ( uint  i_elm,
uint  loc_dof,
double  solution,
double  diag = 0.0 
)
inline

Constructor. Set all data of local constraint.

Definition at line 41 of file local_constraint.hh.

Member Function Documentation

◆ i_element()

uint LocalConstraint::i_element ( ) const
inline

Getter to i_element.

Definition at line 67 of file local_constraint.hh.

◆ operator<()

bool LocalConstraint::operator< ( const LocalConstraint other)
inline

Definition at line 72 of file local_constraint.hh.

◆ set_col()

void LocalConstraint::set_col ( uint  i_elm,
uint  loc_dof,
double  solution 
)
inline

Set only column data to constraint.

Definition at line 56 of file local_constraint.hh.

◆ set_row()

void LocalConstraint::set_row ( uint  i_elm,
uint  loc_dof,
double  solution,
double  diag = 0.0 
)
inline

Set only row data to constraint.

Definition at line 45 of file local_constraint.hh.

Friends And Related Function Documentation

◆ LocalSystem

friend class LocalSystem
friend

Definition at line 83 of file local_constraint.hh.

Member Data Documentation

◆ diag_

double LocalConstraint::diag_
private

Definition at line 81 of file local_constraint.hh.

◆ i_element_

uint LocalConstraint::i_element_
private

Definition at line 78 of file local_constraint.hh.

◆ loc_dof_

uint LocalConstraint::loc_dof_
private

Definition at line 79 of file local_constraint.hh.

◆ solution_

double LocalConstraint::solution_
private

Definition at line 80 of file local_constraint.hh.

◆ type_

ConstraintType LocalConstraint::type_
private

Definition at line 77 of file local_constraint.hh.


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