Class GooseFEM::Tyings::Control#

class Control#

Add control nodes to an existing system.

Public Functions

template<class C, class N>
inline Control(const C &coor, const N &dofs)#

Constructor.

Template Parameters
Parameters
  • coor – Nodal coordinates [nnode, ndim].

  • dofs – DOF-numbers per node [nnode, ndim].

inline const array_type::tensor<double, 2> &coor() const#

Nodal coordinates, for the system with control nodes added to it.

Returns

[nnode + ndim, ndim], with nnode the number of nodes of the original system.

inline const array_type::tensor<size_t, 2> &dofs() const#

DOF-numbers per node, for the system with control nodes added to it.

Returns

[nnode + ndim, ndim], with nnode the number of nodes of the original system.

inline const array_type::tensor<size_t, 2> &controlDofs() const#

DOF-numbers of each control node.

Returns

[ndim, ndim].

inline const array_type::tensor<size_t, 1> &controlNodes() const#

Node-numbers of the control nodes.

Returns

[ndim].