### How to augment a FunctionSpace with additional dofs

```
#define mesh
self.mesh = BoxMesh(Point(0, 0, 0), Point(self.L, self.W, self.W), 10, 3, 3)
#define function space
self.V = VectorFunctionSpace(self.mesh, 'P', 1)
```

This Fem space represents a beam without translational or rotational degrees of freedom. I want to augment self.V with the additional dofs so that the beam can be moved around in the space. How is this accomplished in Fenics? In particular, which attributes of self.V need to be modified? Is there a terminal command describing self.V and its attributes? How about a command like 'help/man VectorFunctionSpace' (I am aware of the online dolfin doc)? Sorry for the overloaded post and thanks!

A Fem discretization looks like

$u_h=\sum_{i=1}^NU_i\left(t\right)\phi_i\left(x\right)$`u`_{h}=∑_{i=1}^{N}`U`_{i}(`t`)`ϕ`_{i}(`x`)

where \(U_i(t)\) is the vector of unkowns and \(\phi_i(x)\) are the known FE basis functions. In the presence of translational and rotational dofs, the first 12 basis functions read

$\phi_{t,i}\left(x\right)=e_i$`ϕ`_{t,i}(`x`)=`e`_{i} and $\phi_{r,ij}=x_ie_j,$`ϕ`_{r,ij}=`x`_{i}`e`_{j}, for $i,j=1,2,3.$`i`,`j`=1,2,3.

Here \(e_i\) are the standard basis vectors in \(\mathcal{R}^3\).

The Fem space above assumes \(U_i(t) =0 \) for \(i = 1,2,...,12 \).

fenics 2017.1.0 py27_4 conda-forge 4.3.22