OpenCMISS-Iron Internal API Documentation
fitting_routines Module Reference

This module handles all Galerkin projection routines. More...

Functions/Subroutines

subroutine, public fitting_finite_element_calculate (EQUATIONS_SET, ELEMENT_NUMBER, ERR, ERROR,)
 Calculates the element stiffness matrices and RHS for a Galerkin projection finite element equations set. More...
 
subroutine fitting_equations_set_mat_properties_setup (EQUATIONS_SET, EQUATIONS_SET_SETUP, ERR, ERROR,)
 Sets up the update-materials Galerkin projection. More...
 
subroutine, public fitting_equations_set_setup (EQUATIONS_SET, EQUATIONS_SET_SETUP, ERR, ERROR,)
 Sets up the Galerkin projection type of a data fitting equations set class. More...
 
subroutine, public fitting_equations_set_solution_method_set (EQUATIONS_SET, SOLUTION_METHOD, ERR, ERROR,)
 Sets/changes the solution method for a Galerkin projection type of an data fitting equations set class. More...
 
subroutine, public fitting_equationssetspecificationset (equationsSet, specification, err, error,)
 Sets the problem specification for a data fitting equation set class. More...
 
subroutine fitting_equations_set_standard_setup (EQUATIONS_SET, EQUATIONS_SET_SETUP, ERR, ERROR,)
 Sets up the standard Galerkin projection. More...
 
subroutine, public fitting_equations_set_vectordata_setup (EQUATIONS_SET, EQUATIONS_SET_SETUP, ERR, ERROR,)
 Sets up the vector data Galerkin projection. More...
 
subroutine, public fitting_problem_setup (PROBLEM, PROBLEM_SETUP, ERR, ERROR,)
 Sets up the Galerkin projection problem. More...
 
subroutine fitting_problem_standard_setup (PROBLEM, PROBLEM_SETUP, ERR, ERROR,)
 Sets up the standard Galerkin projections problem. More...
 
subroutine fitting_problem_vectordata_setup (PROBLEM, PROBLEM_SETUP, ERR, ERROR,)
 Sets up the vector data Galerkin projections problem. More...
 
subroutine, public fitting_problemspecificationset (problem, problemSpecification, err, error,)
 Sets the problem specification for a data fitting problem class. More...
 
subroutine fitting_gauss_deformation_gradient_tensor (REFERENCE_GEOMETRIC_INTERPOLATED_POINT, GEOMETRIC_INTERPOLATED_POINT, DXDY, Jxy, ERR, ERROR,)
 Evaluates the deformation gradient tensor at a given Gauss point. More...
 
subroutine, public fitting_pre_solve (CONTROL_LOOP, SOLVER, ERR, ERROR,)
 Sets up the output type for a data fitting problem class. More...
 
subroutine, public fitting_post_solve (CONTROL_LOOP, SOLVER, ERR, ERROR,)
 Sets up the output type for a data fitting problem class. More...
 
subroutine fitting_post_solve_output_data (CONTROL_LOOP, SOLVER, ERR, ERROR,)
 Output data post solve. More...
 
subroutine, public fitting_pre_solve_update_input_data (CONTROL_LOOP, SOLVER, ERR, ERROR,)
 Update input data conditions for field fitting. More...
 

Detailed Description

This module handles all Galerkin projection routines.

Function/Subroutine Documentation

subroutine fitting_routines::fitting_equations_set_mat_properties_setup ( type(equations_set_type), pointer  EQUATIONS_SET,
type(equations_set_setup_type), intent(inout)  EQUATIONS_SET_SETUP,
integer(intg), intent(out)  ERR,
type(varying_string), intent(out)  ERROR 
)
private

Sets up the update-materials Galerkin projection.

Parameters
equations_setA pointer to the equations set to setup
[in,out]equations_set_setupThe equations set setup information
[out]errThe error code
[out]errorThe error string

Definition at line 1308 of file fitting_routines.f90.

References base_routines::enters(), equations_routines::equations_create_finish(), equations_routines::equations_create_start(), equations_set_constants::equations_linear, equations_routines::equations_linearity_type_set(), equations_mapping_routines::equations_mapping_create_finish(), equations_mapping_routines::equations_mapping_create_start(), equations_mapping_routines::equations_mapping_rhs_variable_type_set(), equations_matrices_routines::equations_matrices_create_finish(), equations_matrices_routines::equations_matrices_create_start(), equations_matrices_routines::equations_matrices_full_matrices, equations_matrices_routines::equations_matrices_linear_storage_type_set(), equations_matrices_routines::equations_matrices_sparse_matrices, equations_matrices_routines::equations_matrix_fem_structure, equations_set_constants::equations_quasistatic, equations_set_constants::equations_set_bem_solution_method, equations_routines::equations_set_equations_get(), equations_set_constants::equations_set_fd_solution_method, equations_set_constants::equations_set_fem_solution_method, equations_set_constants::equations_set_fv_solution_method, equations_set_constants::equations_set_gfem_solution_method, equations_set_constants::equations_set_gfv_solution_method, equations_set_constants::equations_set_mat_properties_data_fitting_subtype, equations_set_constants::equations_set_mat_properties_inria_model_data_fitting_subtype, equations_set_constants::equations_set_setup_dependent_type, equations_set_constants::equations_set_setup_equations_type, equations_set_constants::equations_set_setup_finish_action, equations_set_constants::equations_set_setup_geometry_type, equations_set_constants::equations_set_setup_independent_type, equations_set_constants::equations_set_setup_initial_type, equations_set_constants::equations_set_setup_materials_type, equations_set_constants::equations_set_setup_source_type, equations_set_constants::equations_set_setup_start_action, equations_routines::equations_time_dependence_type_set(), equations_mapping_routines::equationsmapping_linearmatricesnumberset(), equations_mapping_routines::equationsmapping_linearmatricesvariabletypesset(), equations_matrices_routines::equationsmatrices_linearstructuretypeset(), base_routines::exits(), fitting_equations_set_solution_method_set(), matrix_vector::matrix_block_storage_type, and matrix_vector::matrix_compressed_row_storage_type.

Referenced by fitting_equations_set_setup().

subroutine, public fitting_routines::fitting_equations_set_setup ( type(equations_set_type), pointer  EQUATIONS_SET,
type(equations_set_setup_type), intent(inout)  EQUATIONS_SET_SETUP,
integer(intg), intent(out)  ERR,
type(varying_string), intent(out)  ERROR 
)
subroutine, public fitting_routines::fitting_equations_set_solution_method_set ( type(equations_set_type), pointer  EQUATIONS_SET,
integer(intg), intent(in)  SOLUTION_METHOD,
integer(intg), intent(out)  ERR,
type(varying_string), intent(out)  ERROR 
)

Sets/changes the solution method for a Galerkin projection type of an data fitting equations set class.

Parameters
equations_setA pointer to the equations set to set the solution method for
[in]solution_methodThe solution method to set
[out]errThe error code
[out]errorThe error string

Definition at line 1946 of file fitting_routines.f90.

References base_routines::enters(), equations_set_constants::equations_set_bem_solution_method, equations_set_constants::equations_set_divfree_vector_data_fitting_subtype, equations_set_constants::equations_set_divfree_vector_data_pre_fitting_subtype, equations_set_constants::equations_set_fd_solution_method, equations_set_constants::equations_set_fem_solution_method, equations_set_constants::equations_set_fv_solution_method, equations_set_constants::equations_set_generalised_data_fitting_subtype, equations_set_constants::equations_set_gfem_solution_method, equations_set_constants::equations_set_gfv_solution_method, equations_set_constants::equations_set_mat_properties_data_fitting_subtype, equations_set_constants::equations_set_mat_properties_inria_model_data_fitting_subtype, equations_set_constants::equations_set_standard_data_fitting_subtype, equations_set_constants::equations_set_vector_data_fitting_subtype, equations_set_constants::equations_set_vector_data_pre_fitting_subtype, equations_set_constants::equationsset_datapointvectorquasistaticfittingsubtype, equations_set_constants::equationsset_datapointvectorstaticfittingsubtype, and base_routines::exits().

Referenced by fitting_equations_set_mat_properties_setup(), fitting_equations_set_standard_setup(), and fitting_equations_set_vectordata_setup().

subroutine fitting_routines::fitting_equations_set_standard_setup ( type(equations_set_type), pointer  EQUATIONS_SET,
type(equations_set_setup_type), intent(inout)  EQUATIONS_SET_SETUP,
integer(intg), intent(out)  ERR,
type(varying_string), intent(out)  ERROR 
)
private

Sets up the standard Galerkin projection.

Parameters
equations_setA pointer to the equations set to setup
[in,out]equations_set_setupThe equations set setup information
[out]errThe error code
[out]errorThe error string

Definition at line 2131 of file fitting_routines.f90.

References base_routines::enters(), equations_routines::equations_create_finish(), equations_routines::equations_create_start(), equations_set_constants::equations_linear, equations_routines::equations_linearity_type_set(), equations_mapping_routines::equations_mapping_create_finish(), equations_mapping_routines::equations_mapping_create_start(), equations_mapping_routines::equations_mapping_rhs_variable_type_set(), equations_matrices_routines::equations_matrices_create_finish(), equations_matrices_routines::equations_matrices_create_start(), equations_matrices_routines::equations_matrices_full_matrices, equations_matrices_routines::equations_matrices_linear_storage_type_set(), equations_matrices_routines::equations_matrices_sparse_matrices, equations_matrices_routines::equations_matrix_fem_structure, equations_set_constants::equations_set_bem_solution_method, equations_routines::equations_set_equations_get(), equations_set_constants::equations_set_fd_solution_method, equations_set_constants::equations_set_fem_solution_method, equations_set_constants::equations_set_fv_solution_method, equations_set_constants::equations_set_gfem_solution_method, equations_set_constants::equations_set_gfv_solution_method, equations_set_constants::equations_set_setup_dependent_type, equations_set_constants::equations_set_setup_equations_type, equations_set_constants::equations_set_setup_finish_action, equations_set_constants::equations_set_setup_geometry_type, equations_set_constants::equations_set_setup_initial_type, equations_set_constants::equations_set_setup_materials_type, equations_set_constants::equations_set_setup_source_type, equations_set_constants::equations_set_setup_start_action, equations_set_constants::equations_set_standard_data_fitting_subtype, equations_set_constants::equations_static, equations_routines::equations_time_dependence_type_set(), equations_mapping_routines::equationsmapping_linearmatricesnumberset(), equations_mapping_routines::equationsmapping_linearmatricesvariabletypesset(), equations_matrices_routines::equationsmatrices_linearstructuretypeset(), base_routines::exits(), fitting_equations_set_solution_method_set(), matrix_vector::matrix_block_storage_type, and matrix_vector::matrix_compressed_row_storage_type.

Referenced by fitting_equations_set_setup().

subroutine, public fitting_routines::fitting_equations_set_vectordata_setup ( type(equations_set_type), pointer  EQUATIONS_SET,
type(equations_set_setup_type), intent(inout)  EQUATIONS_SET_SETUP,
integer(intg), intent(out)  ERR,
type(varying_string), intent(out)  ERROR 
)

Sets up the vector data Galerkin projection.

Parameters
equations_setA pointer to the equations set to setup
[in,out]equations_set_setupThe equations set setup information
[out]errThe error code
[out]errorThe error string

Definition at line 2539 of file fitting_routines.f90.

References base_routines::enters(), equations_routines::equations_create_finish(), equations_routines::equations_create_start(), equations_set_constants::equations_linear, equations_routines::equations_linearity_type_set(), equations_mapping_routines::equations_mapping_create_finish(), equations_mapping_routines::equations_mapping_create_start(), equations_mapping_routines::equations_mapping_rhs_variable_type_set(), equations_mapping_routines::equations_mapping_source_variable_type_set(), equations_matrices_routines::equations_matrices_create_finish(), equations_matrices_routines::equations_matrices_create_start(), equations_matrices_routines::equations_matrices_full_matrices, equations_matrices_routines::equations_matrices_linear_storage_type_set(), equations_matrices_routines::equations_matrices_sparse_matrices, equations_matrices_routines::equations_matrix_fem_structure, equations_set_constants::equations_quasistatic, equations_set_constants::equations_set_bem_solution_method, equations_set_constants::equations_set_divfree_vector_data_fitting_subtype, equations_set_constants::equations_set_divfree_vector_data_pre_fitting_subtype, equations_routines::equations_set_equations_get(), equations_set_constants::equations_set_fd_solution_method, equations_set_constants::equations_set_fem_solution_method, equations_set_constants::equations_set_fv_solution_method, equations_set_constants::equations_set_gfem_solution_method, equations_set_constants::equations_set_gfv_solution_method, equations_set_constants::equations_set_setup_dependent_type, equations_set_constants::equations_set_setup_equations_type, equations_set_constants::equations_set_setup_finish_action, equations_set_constants::equations_set_setup_geometry_type, equations_set_constants::equations_set_setup_independent_type, equations_set_constants::equations_set_setup_initial_type, equations_set_constants::equations_set_setup_materials_type, equations_set_constants::equations_set_setup_source_type, equations_set_constants::equations_set_setup_start_action, equations_set_constants::equations_set_vector_data_fitting_subtype, equations_set_constants::equations_set_vector_data_pre_fitting_subtype, equations_set_constants::equations_static, equations_routines::equations_time_dependence_type_set(), equations_mapping_routines::equationsmapping_linearmatricesnumberset(), equations_mapping_routines::equationsmapping_linearmatricesvariabletypesset(), equations_matrices_routines::equationsmatrices_linearstructuretypeset(), equations_set_constants::equationsset_datapointvectorquasistaticfittingsubtype, equations_set_constants::equationsset_datapointvectorstaticfittingsubtype, base_routines::exits(), fitting_equations_set_solution_method_set(), matrix_vector::matrix_block_storage_type, and matrix_vector::matrix_compressed_row_storage_type.

Referenced by fitting_equations_set_setup().

subroutine, public fitting_routines::fitting_equationssetspecificationset ( type(equations_set_type), pointer  equationsSet,
integer(intg), dimension(:), intent(in)  specification,
integer(intg), intent(out)  err,
type(varying_string), intent(out)  error 
)
subroutine, public fitting_routines::fitting_finite_element_calculate ( type(equations_set_type), pointer  EQUATIONS_SET,
integer(intg), intent(in)  ELEMENT_NUMBER,
integer(intg), intent(out)  ERR,
type(varying_string), intent(out)  ERROR 
)

Calculates the element stiffness matrices and RHS for a Galerkin projection finite element equations set.

Parameters
equations_setA pointer to the equations set to perform the finite element calculations on
[in]element_numberThe element number to calculate
[out]errThe error code
[out]errorThe error string

Definition at line 426 of file fitting_routines.f90.

References basis_routines::basis_default_quadrature_scheme, base_routines::diagnostic_output_type, base_routines::diagnostics2, base_routines::diagnostics5, base_routines::enters(), equations_set_constants::equations_set_divfree_vector_data_fitting_subtype, equations_set_constants::equations_set_divfree_vector_data_pre_fitting_subtype, equations_set_constants::equations_set_generalised_data_fitting_subtype, equations_set_constants::equations_set_mat_properties_data_fitting_subtype, equations_set_constants::equations_set_mat_properties_inria_model_data_fitting_subtype, equations_set_constants::equations_set_standard_data_fitting_subtype, equations_set_constants::equations_set_vector_data_fitting_subtype, equations_set_constants::equations_set_vector_data_pre_fitting_subtype, equations_set_constants::equationsset_datapointvectorquasistaticfittingsubtype, equations_set_constants::equationsset_datapointvectorstaticfittingsubtype, base_routines::exits(), constants::first_part_deriv, darcy_equations_routines::idebug1, constants::no_part_deriv, constants::part_deriv_s1, constants::part_deriv_s1_s1, constants::part_deriv_s1_s2, constants::part_deriv_s1_s3, constants::part_deriv_s2, constants::part_deriv_s2_s2, constants::part_deriv_s2_s3, constants::part_deriv_s3, constants::part_deriv_s3_s3, constants::partial_derivative_first_derivative_map, and constants::second_part_deriv.

Referenced by equations_set_routines::equations_set_finite_element_calculate().

subroutine fitting_routines::fitting_gauss_deformation_gradient_tensor ( type(field_interpolated_point_type), pointer  REFERENCE_GEOMETRIC_INTERPOLATED_POINT,
type(field_interpolated_point_type), pointer  GEOMETRIC_INTERPOLATED_POINT,
real(dp), dimension(3,3)  DXDY,
real(dp)  Jxy,
integer(intg), intent(out)  ERR,
type(varying_string), intent(out)  ERROR 
)
private

Evaluates the deformation gradient tensor at a given Gauss point.

Parameters
[out]errThe error code
[out]errorThe error string

Definition at line 4100 of file fitting_routines.f90.

References base_routines::enters(), base_routines::exits(), and constants::partial_derivative_first_derivative_map.

subroutine, public fitting_routines::fitting_post_solve ( type(control_loop_type), pointer  CONTROL_LOOP,
type(solver_type), pointer  SOLVER,
integer(intg), intent(out)  ERR,
type(varying_string), intent(out)  ERROR 
)
subroutine fitting_routines::fitting_post_solve_output_data ( type(control_loop_type), pointer  CONTROL_LOOP,
type(solver_type), pointer  SOLVER,
integer(intg), intent(out)  ERR,
type(varying_string), intent(out)  ERROR 
)
private
subroutine, public fitting_routines::fitting_pre_solve ( type(control_loop_type), pointer  CONTROL_LOOP,
type(solver_type), pointer  SOLVER,
integer(intg), intent(out)  ERR,
type(varying_string), intent(out)  ERROR 
)
subroutine, public fitting_routines::fitting_pre_solve_update_input_data ( type(control_loop_type), pointer  CONTROL_LOOP,
type(solver_type), pointer  SOLVER,
integer(intg), intent(out)  ERR,
type(varying_string), intent(out)  ERROR 
)
subroutine, public fitting_routines::fitting_problem_setup ( type(problem_type), pointer  PROBLEM,
type(problem_setup_type), intent(inout)  PROBLEM_SETUP,
integer(intg), intent(out)  ERR,
type(varying_string), intent(out)  ERROR 
)
subroutine fitting_routines::fitting_problem_standard_setup ( type(problem_type), pointer  PROBLEM,
type(problem_setup_type), intent(inout)  PROBLEM_SETUP,
integer(intg), intent(out)  ERR,
type(varying_string), intent(out)  ERROR 
)
private

Sets up the standard Galerkin projections problem.

Parameters
problemA pointer to the problem to setup
[in,out]problem_setupThe problem setup information
[out]errThe error code
[out]errorThe error string

Definition at line 3751 of file fitting_routines.f90.

References control_loop_routines::control_loop_create_finish(), control_loop_routines::control_loop_create_start(), control_loop_routines::control_loop_node, control_loop_routines::control_loop_solvers_get(), base_routines::enters(), base_routines::exits(), problem_constants::problem_setup_control_type, problem_constants::problem_setup_finish_action, problem_constants::problem_setup_initial_type, problem_constants::problem_setup_solver_equations_type, problem_constants::problem_setup_solvers_type, problem_constants::problem_setup_start_action, problem_constants::problem_standard_data_fitting_subtype, solver_routines::solver_equations_create_finish(), solver_routines::solver_equations_create_start(), problem_constants::solver_equations_linear, solver_routines::solver_equations_linearity_type_set(), solver_routines::solver_equations_sparsity_type_set(), problem_constants::solver_equations_static, solver_routines::solver_equations_time_dependence_type_set(), solver_routines::solver_library_type_set(), solver_routines::solver_linear_type, solver_routines::solver_petsc_library, solver_routines::solver_solver_equations_get(), solver_routines::solver_sparse_matrices, solver_routines::solver_type_set(), solver_routines::solvers_create_finish(), solver_routines::solvers_create_start(), solver_routines::solvers_number_set(), and solver_routines::solvers_solver_get().

Referenced by fitting_problem_setup().

subroutine fitting_routines::fitting_problem_vectordata_setup ( type(problem_type), pointer  PROBLEM,
type(problem_setup_type), intent(inout)  PROBLEM_SETUP,
integer(intg), intent(out)  ERR,
type(varying_string), intent(out)  ERROR 
)
private

Sets up the vector data Galerkin projections problem.

Parameters
problemA pointer to the problem to setup
[in,out]problem_setupThe problem setup information
[out]errThe error code
[out]errorThe error string

Definition at line 3887 of file fitting_routines.f90.

References control_loop_routines::control_loop_create_finish(), control_loop_routines::control_loop_create_start(), control_loop_routines::control_loop_node, control_loop_routines::control_loop_solvers_get(), control_loop_routines::control_loop_type_set(), base_routines::enters(), base_routines::exits(), problem_constants::problem_control_simple_type, problem_constants::problem_control_time_loop_type, problem_constants::problem_datapointvectorquasistaticfittingsubtype, problem_constants::problem_datapointvectorstaticfittingsubtype, problem_constants::problem_div_free_vector_data_fitting_subtype, problem_constants::problem_setup_control_type, problem_constants::problem_setup_finish_action, problem_constants::problem_setup_initial_type, problem_constants::problem_setup_solver_equations_type, problem_constants::problem_setup_solvers_type, problem_constants::problem_setup_start_action, problem_constants::problem_vector_data_fitting_subtype, solver_routines::solver_equations_create_finish(), solver_routines::solver_equations_create_start(), problem_constants::solver_equations_linear, solver_routines::solver_equations_linearity_type_set(), problem_constants::solver_equations_quasistatic, solver_routines::solver_equations_sparsity_type_set(), problem_constants::solver_equations_static, solver_routines::solver_equations_time_dependence_type_set(), solver_routines::solver_library_type_set(), solver_routines::solver_linear_type, solver_routines::solver_petsc_library, solver_routines::solver_solver_equations_get(), solver_routines::solver_sparse_matrices, solver_routines::solver_type_set(), solver_routines::solvers_create_finish(), solver_routines::solvers_create_start(), solver_routines::solvers_number_set(), and solver_routines::solvers_solver_get().

Referenced by fitting_problem_setup().

subroutine, public fitting_routines::fitting_problemspecificationset ( type(problem_type), pointer  problem,
integer(intg), dimension(:), intent(in)  problemSpecification,
integer(intg), intent(out)  err,
type(varying_string), intent(out)  error 
)