Hello,
Is it possible to obtain the coordinates of the Gauss points for each subspace?
from fenics import *
from fenics_adjoint import *
import ufl
from mshr import *
import matplotlib.pyplot as plt
import numpy as np
%matplotlib notebook
Length = 1.
Radius = 0.1
mesh_density = 50
domain = Rectangle(Point(0., 0.), Point(Length, Length))
mesh = generate_mesh(domain, mesh_density)
dimens = mesh.geometry().dim()
Vue = VectorElement('CG', mesh.ufl_cell(), 2) # displacement finite element
Vte = FiniteElement('CG', mesh.ufl_cell(), 1) # temperature finite element
V = FunctionSpace(mesh, MixedElement([Vue, Vte]))
coord_all = V.tabulate_dof_coordinates()
V.sub(0).collapse().tabulate_dof_coordinates()
V.sub(1).collapse().tabulate_dof_coordinates()
Also, after solving the problem, I like to evaluate the temperature at the Gauss points. Is that possible?