Choral
|
DERIVED TYPE feSpacexk: define \( Y = [ X_h ]^k \) for \( X_h \) a finite element space. More...
Data Types | |
interface | clear |
destructor More... | |
interface | fespacexk |
The type feSpacexk defines \( Y = [ X_h ]^k \) for \( X_h \) a finite element space. More... | |
interface | interp_vect_func |
interface | l2_dist |
integral L2 distance More... | |
interface | l2_dist_grad |
interface | |
print a short description More... | |
interface | valid |
Functions/Subroutines | |
subroutine | fespacexk_clear (Y) |
Destructor for feSpacexk type. More... | |
type(fespacexk) function | fespacexk_create (X_h, k) |
Constructor for the type feSpacexk More... | |
logical function | fespacexk_valid (Y) |
Check if the structure content is correct. More... | |
subroutine | fespacexk_interp_vect_func (u_h, Y, u_1, u_2, u_3) |
Interpolate a function u : R^3 –> R^d given by its components u_1, u_2 and u_3 on Y = [X_h]^d. More... | |
subroutine | fespacexk_print (Y) |
Print a short description. More... | |
subroutine, public | extract_component (u_c, u, Y, c) |
Extract the component \( c \) of a finite element function \( u \in Y = [X_h]^k \). More... | |
real(rp) function | l2_dist_2 (uh, Y, qdm, u_1, u_2, u_3) |
Returns \( \left( \int_O \vert u - u_h \vert^2 \dx \right) ^{1/2} \). More... | |
real(rp) function | l2_dist_grad_2 (uh, Y, qdm, grad_u1, grad_u2, grad_u3) |
Returns \( \left( \int_O \vert \nabla u - \nabla u_h \vert^2 dx \right)^{1/2} \). More... | |
DERIVED TYPE feSpacexk: define \( Y = [ X_h ]^k \) for \( X_h \) a finite element space.
Given a finite element space \( X_h \) of type feSpace:
\(Y\) as \(k\) times more degrees of freedom than \(X_h\). They are ordered as follows:
subroutine, public fespacexk_mod::extract_component | ( | real(rp), dimension(:), allocatable | u_c, |
real(rp), dimension(:), intent(in) | u, | ||
type(fespacexk), intent(in) | Y, | ||
integer, intent(in) | c | ||
) |
Extract the component \( c \) of a finite element function \( u \in Y = [X_h]^k \).
INPUT
OUTPUT:
Definition at line 375 of file feSpacexk_mod.f90.
|
private |
Destructor for feSpacexk type.
Definition at line 163 of file feSpacexk_mod.f90.
|
private |
Constructor for the type feSpacexk
Definition at line 184 of file feSpacexk_mod.f90.
|
private |
Interpolate a function u : R^3 –> R^d given by its components u_1, u_2 and u_3 on Y = [X_h]^d.
If d = 2 : u(x) = [u_1(x), u_2(x)] If d = 3 : u(x) = [u_1(x), u_2(x), u_3(x)]
Definition at line 282 of file feSpacexk_mod.f90.
|
private |
Print a short description.
Definition at line 342 of file feSpacexk_mod.f90.
|
private |
Check if the structure content is correct.
Definition at line 257 of file feSpacexk_mod.f90.
|
private |
Returns \( \left( \int_O \vert u - u_h \vert^2 \dx \right) ^{1/2} \).
Definition at line 431 of file feSpacexk_mod.f90.
|
private |
Returns \( \left( \int_O \vert \nabla u - \nabla u_h \vert^2 dx \right)^{1/2} \).
Definition at line 514 of file feSpacexk_mod.f90.