from mpi4py import MPI
from dolfinx import mesh,fem
from dolfinx.fem import FunctionSpace
import ufl
from petsc4py.PETSc import ScalarType
import numpy as np
import matplotlib.pyplot as plt
domain = mesh.create_unit_interval(MPI.COMM_WORLD, 8)
V = FunctionSpace(domain, ("Lagrange", 3))
T = FunctionSpace(domain, ("Lagrange",3))
u = ufl.TrialFunction(V)
v = ufl.TestFunction(T)
So as I take it so far function space V consists of all nodes of “domain” and or all the points in between.
Is there a way from python “V” or from trial function in python “u” to get output of domain points as they start to get modified?
For instance I might light to see output in terms of node points how or if they get modified from a new test function f_n = u * v? (As far as what the end resulting expressions look like…)