#include <Omu_Deps.h>


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_DepVec & | operator= (const Omu_DepVec &) |
Protected Attributes | |
| IVECP | _linear_flags |
| IVECP | _linear_vars |
| void Omu_DepVec::adapt_size | ( | int | dim | ) |
Resize dimension without reinitializing memory.
Argument dim must not be larger than allocated dim.
.