Monomial2D example 7
This example shows the usage of [[Monomial2D_]] class. This example shows the use of Monomials2D
on quadrangles.
Modules and classes
- [[Monomial2D_]]
Usage
PROGRAM main
use easifemBase
use easifemClasses
implicit none
type(Monomial2D_), allocatable :: f1(:), f2(:), f3(:)
integer( i4b ) :: ii, n
!!! note "Monomials2D"
f1 = Monomials2D( order=1, name1="x", name2="y", elemType=Quadrangle)
n = size( f1 )
do ii = 1, n
call f1(ii)%display( "f(" // tostring(ii) // ")=" )
end do
!!! example "results"
!!! note "Monomials2D"
f2 = Monomials2D( order=2, name1="x", name2="y", elemType=Quadrangle )
n = size( f2 )
do ii = 1, n
call f2(ii)%display( "f(" // tostring(ii) // ")=" )
end do
!!! example "results"
END PROGRAM main