Omu_DepVec Class Reference

#include <Omu_Deps.h>

Inheritance diagram for Omu_DepVec:

Inheritance graph
base refererrect $classOmu__DependentVec.html 7,156 153,183rect $classOmu__Vec.html 40,81 120,108rect $classMesch_1_1VECP.html 28,7 132,33
[legend]
Collaboration diagram for Omu_DepVec:

Collaboration graph
base refererrect $classOmu__DependentVec.html 126,268 272,295rect $classOmu__Vec.html 28,114 108,140rect $classMesch_1_1VECP.html 7,7 111,34rect $classOmu__Jacobian.html 143,114 255,140rect $classMesch_1_1MATP.html 135,7 239,34rect $classMesch_1_1IVECP.html 264,7 374,34
[legend]

List of all members.


Detailed Description

Internally used vector of dependent variables.


Public Member Functions

void size (int dim, int nx, int nu, int ndx, int nxf, int nq)
 Allocate and initialize memory.
void adapt_size (int dim)
 Resize dimension without reinitializing memory.
void analyze_struct ()
 Analyze dependencies after setup process.
Implementation of Omu_DependentVec interface
void set_linear (int wrt=Omu_Dependent::WRT_ALL, bool value=true)
 Mark linear dependency.
bool is_linear (int wrt=Omu_Dependent::WRT_ALL) const
 Query if a dependency is linear.
void set_linear_element (int i, int wrt=Omu_Dependent::WRT_ALL, bool value=true)
 Mark linear element of dependent vector.
bool is_linear_element (int i, int wrt=Omu_Dependent::WRT_ALL) const
 Query if an element of the dependent vector is linear.
void set_linear_variable (int vec, int j, bool value=true)
 Mark a variable that appears linear in all elements.
bool is_linear_variable (int vec, int j) const
 Query if a variable is linear in all elements.

Public Attributes

bool c_setup
 indicate setup process (call to set_linear* allowed)

Protected Member Functions

 Omu_DepVec (const Omu_DepVec &cv)
Omu_DepVecoperator= (const Omu_DepVec &)

Protected Attributes

IVECP _linear_flags
IVECP _linear_vars


Member Function Documentation

void Omu_DepVec::adapt_size ( int  dim  ) 

Resize dimension without reinitializing memory.

Argument dim must not be larger than allocated dim.


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

HQP is hosted at SourceForge. Documentation generated on Sat Nov 8 14:21:33 2008 using doxygen.