fm_dof: Function spece degrees of freedom

View source: R/mesh.R

fm_dofR Documentation

Function spece degrees of freedom

Description

Obtain the degrees of freedom of a function space, i.e. the number of basis functions it uses.

Usage

fm_dof(x)

## S3 method for class 'fm_mesh_1d'
fm_dof(x)

## S3 method for class 'fm_mesh_2d'
fm_dof(x)

## S3 method for class 'fm_tensor'
fm_dof(x)

Arguments

x

A function space object, such as fm_mesh_1d() or fm_mesh_2d()

Value

An integer

Examples

fm_dof(fmexample$mesh)


fmesher documentation built on July 1, 2024, 5:07 p.m.