fm_tensor {fmesher} | R Documentation |
Make a tensor product function space
Description
Tensor product function spaces. The interface and object storage model is experimental and may change.
Usage
fm_tensor(x, ...)
Arguments
x |
list of function space objects, such as |
... |
Currently unused |
Value
A fm_tensor
or fm_tensor_list
object. Elements of fm_tensor
:
- fun_spaces
fm_list
of function space objects- manifold
character; manifold type summary. Regular subset of Rd "Rd", if all function spaces have type "R", torus connected "Td" if all function spaces have type "S", and otherwise "Md" In all cases,
d
is the sum of the manifold dimensions of the function spaces.
See Also
Other object creation and conversion:
fm_as_fm()
,
fm_as_lattice_2d()
,
fm_as_mesh_1d()
,
fm_as_mesh_2d()
,
fm_as_segm()
,
fm_as_sfc()
,
fm_as_tensor()
,
fm_lattice_2d()
,
fm_mesh_1d()
,
fm_mesh_2d()
,
fm_segm()
,
fm_simplify()
Examples
m <- fm_tensor(list(
space = fmexample$mesh,
time = fm_mesh_1d(1:5)
))
m2 <- fm_as_tensor(m)
m3 <- fm_as_tensor_list(list(m, m))
c(fm_dof(m$fun_spaces$space) * fm_dof(m$fun_spaces$time), fm_dof(m))
str(fm_evaluator(m, loc = list(space = cbind(0, 0), time = 2.5)))
str(fm_basis(m, loc = list(space = cbind(0, 0), time = 2.5)))
str(fm_fem(m))
[Package fmesher version 0.1.7 Index]