FE-Project
Loading...
Searching...
No Matches
scale_meshfield_analysis_numerror::meshfieldanalysisnumerror1d Type Reference

Derived type for numerical error analysis of 1D field. More...

Inheritance diagram for scale_meshfield_analysis_numerror::meshfieldanalysisnumerror1d:
scale_meshfield_analysis_numerror_base::meshfieldanalysisnumerrorbase

Public Member Functions

procedure init_1d (this, porder_error_check, log_fname_base, log_step_interval, mesh, refelem1d, set_data_lc, numerror_analysis_info)
 Initialize a object to evaluate numerical error for 1D field.
generic init (this, porder_error_check, log_fname_base, log_step_interval, mesh, refelem1d, set_data_lc, numerror_analysis_info)
 Initialize a object to evaluate numerical error for 1D field.
procedure evaluate (this, tstep, tsec)
Public Member Functions inherited from scale_meshfield_analysis_numerror_base::meshfieldanalysisnumerrorbase
procedure init_base (this, porder_error_check, ndim, np, intrp_np, log_fname_base, log_step_interval, mesh, numerror_analysis_info)
 Initialize an object for numerical error analysis.
generic init (this, porder_error_check, ndim, np, intrp_np, log_fname_base, log_step_interval, mesh, numerror_analysis_info)
 Initialize an object for numerical error analysis.
procedure final (this)
 Finalize an object for numerical error analysis.
procedure regist (this, varname, unit, varid)
 Register a variable for numerical error analysis.
procedure evaluate_base (this, tstep, tsec, dom_vol, evaluate_error, calc_covariance)
 Evaluate numerical errors.
procedure evaluate_error_lc (base, num_error_l1_lc, num_error_l2_lc, num_error_linf_lc, numsol_mean_lc, exactsol_mean_lc, q, qexact, qexact_intrp, lcmesh, elem)
 Evaluate numerical errors at local mesh level.
procedure evaluate_covariance_lc (base, cov_numsol_numsol_lc, cov_numsol_exactsol_lc, cov_exactsol_exactsol_lc, q, qexact, qexact_intrp, numsol_mean, exactsol_mean, lcmesh, elem)
 Evaluate covariance of numerical and exact solutions at local mesh level.

Public Attributes

class(meshbase1d), pointer mesh1d
 Pointer to an object of 1D mesh.
procedure(set_data_lc_1d), pointer set_data_lc
Public Attributes inherited from scale_meshfield_analysis_numerror_base::meshfieldanalysisnumerrorbase
integer var_num
 Number of variables to be analyzed.
integer log_fid
 File ID for log output.
integer log_step_interval
 Interval of time step for log output.
integer log_rstep
 Remaining step for log output.
logical output_error_first
 Flag for outputting error at the first time.
class(meshbase), pointer mesh
 Pointer to an object of type MeshBase.
integer polyordererrorcheck
 Polynomial order when evaluating numerical errors.
integer intrp_np
 Number of interpolation points.
integer ndim
 Number of dimensions.
real(rp), dimension(:,:), allocatable intrpmat
 Interpolation matrix for numerical error evaluation.
real(rp), dimension(:), allocatable intw_intrp
 Weights of integration for interpolation points.
real(rp), dimension(:,:), allocatable epos_intrp
 Positions of interpolation points.
class(meshfieldanalysisnumerrorinfobase), pointer info
 Pointer to information for numerical error analysis.

Detailed Description

Derived type for numerical error analysis of 1D field.

Definition at line 58 of file scale_meshfield_analysis_numerror.F90.

Member Function/Subroutine Documentation

◆ init_1d()

procedure scale_meshfield_analysis_numerror::meshfieldanalysisnumerror1d::init_1d ( class(meshfieldanalysisnumerror1d), intent(inout) this,
integer, intent(in) porder_error_check,
character(len=*), intent(in) log_fname_base,
integer, intent(in) log_step_interval,
class(meshbase1d), intent(in), target mesh,
type(lineelement), intent(in) refelem1d,
procedure(set_data_lc_1d) set_data_lc,
class(meshfieldanalysisnumerrorinfobase), intent(in), target numerror_analysis_info )

Initialize a object to evaluate numerical error for 1D field.

Definition at line 62 of file scale_meshfield_analysis_numerror.F90.

◆ init()

generic scale_meshfield_analysis_numerror::meshfieldanalysisnumerror1d::init ( class(meshfieldanalysisnumerror1d), intent(inout) this,
integer, intent(in) porder_error_check,
character(len=*), intent(in) log_fname_base,
integer, intent(in) log_step_interval,
class(meshbase1d), intent(in), target mesh,
type(lineelement), intent(in) refelem1d,
procedure(set_data_lc_1d) set_data_lc,
class(meshfieldanalysisnumerrorinfobase), intent(in), target numerror_analysis_info )

Initialize a object to evaluate numerical error for 1D field.

Definition at line 63 of file scale_meshfield_analysis_numerror.F90.

◆ evaluate()

procedure scale_meshfield_analysis_numerror::meshfieldanalysisnumerror1d::evaluate ( class(meshfieldanalysisnumerror1d), intent(inout) this,
integer, intent(in) tstep,
real(rp), intent(in) tsec )

Definition at line 64 of file scale_meshfield_analysis_numerror.F90.

Member Data Documentation

◆ mesh1d

class(meshbase1d), pointer scale_meshfield_analysis_numerror::meshfieldanalysisnumerror1d::mesh1d

Pointer to an object of 1D mesh.

Definition at line 59 of file scale_meshfield_analysis_numerror.F90.

59 class(MeshBase1D), pointer :: mesh1D !< Pointer to an object of 1D mesh

◆ set_data_lc

procedure(set_data_lc_1d), pointer scale_meshfield_analysis_numerror::meshfieldanalysisnumerror1d::set_data_lc

Definition at line 60 of file scale_meshfield_analysis_numerror.F90.

60 procedure(set_data_lc_1d), pointer :: set_data_lc

The documentation for this type was generated from the following file: