OpenCMISS-Iron Internal API Documentation
classical_field_routines Module Reference

This module handles all classical field class routines. More...

Functions/Subroutines

subroutine, public classical_field_analytic_functions_evaluate (EQUATIONS_SET, EQUATIONS_TYPE, ANALYTIC_FUNCTION_TYPE, POSITION, TANGENTS, NORMAL, TIME, VARIABLE_TYPE, GLOBAL_DERIVATIVE, COMPONENT_NUMBER, ANALYTIC_PARAMETERS, MATERIALS_PARAMETERS, VALUE, ERR, ERROR,)
 Evaluate the analytic solution for a classical field equations set. More...
 
subroutine, public classical_field_control_loop_post_loop (CONTROL_LOOP, ERR, ERROR,)
 Executes after each loop of a control loop for bioelectric problems, i.e., after each time step for a time loop. More...
 
subroutine, public classicalfield_equationssetspecificationset (equationsSet, specification, err, error,)
 Sets the equations set specification for a classical field equation set. More...
 
subroutine, public classical_field_finite_element_calculate (EQUATIONS_SET, ELEMENT_NUMBER, ERR, ERROR,)
 Calculates the element stiffness matries and rhs vector for the given element number for a clasical field class finite element equation set. More...
 
subroutine, public classicalfield_finiteelementjacobianevaluate (EQUATIONS_SET, ELEMENT_NUMBER, ERR, ERROR,)
 Evaluates the element Jacobian matrix for the given element number for a clasical field class finite element equation set. More...
 
subroutine, public classicalfield_finiteelementresidualevaluate (EQUATIONS_SET, ELEMENT_NUMBER, ERR, ERROR,)
 Evaluates the element residual and rhs vectors for the given element number for a clasical field class finite element equation set. More...
 
subroutine, public classical_field_equations_set_setup (EQUATIONS_SET, EQUATIONS_SET_SETUP, ERR, ERROR,)
 Sets up the equations set for a classical field equations set class. More...
 
subroutine, public classicalfield_equationssetsolutionmethodset (EQUATIONS_SET, SOLUTION_METHOD, ERR, ERROR,)
 Sets/changes the solution method for a classical field equation set class. More...
 
subroutine, public classicalfield_boundaryconditionsanalyticcalculate (EQUATIONS_SET, BOUNDARY_CONDITIONS, ERR, ERROR,)
 Sets the analytic boundary conditions for a classical field equation set class. More...
 
subroutine, public classicalfield_problemspecificationset (problem, problemSpecification, err, error,)
 Sets the problem specification for a classical field problem class. More...
 
subroutine, public classical_field_problem_setup (PROBLEM, PROBLEM_SETUP, ERR, ERROR,)
 Sets up the problem for a classical field problem class. More...
 
subroutine, public classical_field_pre_solve (CONTROL_LOOP, SOLVER, ERR, ERROR,)
 Sets up the output type for a classical field problem class. More...
 
subroutine, public classical_field_post_solve (CONTROL_LOOP, SOLVER, ERR, ERROR,)
 Sets up the output type for a classical field problem class. More...
 

Detailed Description

This module handles all classical field class routines.

Function/Subroutine Documentation

subroutine, public classical_field_routines::classical_field_analytic_functions_evaluate ( type(equations_set_type), pointer  EQUATIONS_SET,
integer(intg), intent(in)  EQUATIONS_TYPE,
integer(intg), intent(in)  ANALYTIC_FUNCTION_TYPE,
real(dp), dimension(:), intent(in)  POSITION,
real(dp), dimension(:,:), intent(in)  TANGENTS,
real(dp), dimension(:), intent(in)  NORMAL,
real(dp), intent(in)  TIME,
integer(intg), intent(in)  VARIABLE_TYPE,
integer(intg), intent(in)  GLOBAL_DERIVATIVE,
integer(intg), intent(in)  COMPONENT_NUMBER,
real(dp), dimension(:), intent(in)  ANALYTIC_PARAMETERS,
real(dp), dimension(:), intent(in)  MATERIALS_PARAMETERS,
real(dp), intent(out)  VALUE,
integer(intg), intent(out)  ERR,
type(varying_string), intent(out)  ERROR 
)

Evaluate the analytic solution for a classical field equations set.

Parameters
equations_setA pointer to the equations set to evaluate the analytic for
[in]equations_typeThe type of equation to evaluate
[in]analytic_function_typeThe type of analytic function to evaluate
[in]positionPOSITION(dimention_idx). The geometric position to evaluate at
[in]tangentsTANGENTS(dimention_idx,xi_idx). The geometric tangents at the point to evaluate at.
[in]normalNORMAL(dimension_idx). The normal vector at the point to evaluate at.
[in]timeThe time to evaluate at
[in]variable_typeThe field variable type to evaluate at
[in]global_derivativeThe global derivative direction to evaluate at
[in]component_numberThe dependent field component number to evaluate
[in]analytic_parametersA pointer to any analytic field parameters
[in]materials_parametersA pointer to any materials field parameters
[out]valueOn return, the analtyic function value.
[out]errThe error code
[out]errorThe error string

Definition at line 108 of file classical_field_routines.f90.

References diffusion_equation_routines::diffusion_analyticfunctionsevaluate(), base_routines::enters(), equations_set_constants::equations_set_advection_diffusion_equation_type, equations_set_constants::equations_set_advection_equation_type, equations_set_constants::equations_set_biharmonic_equation_type, equations_set_constants::equations_set_diffusion_equation_type, equations_set_constants::equations_set_helmholtz_equation_type, equations_set_constants::equations_set_hj_equation_type, equations_set_constants::equations_set_laplace_equation_type, equations_set_constants::equations_set_poisson_equation_type, equations_set_constants::equations_set_reaction_diffusion_equation_type, equations_set_constants::equations_set_wave_equation_type, and base_routines::exits().

Referenced by equations_set_routines::equations_set_analytic_functions_evaluate().

subroutine, public classical_field_routines::classical_field_control_loop_post_loop ( type(control_loop_type), pointer  CONTROL_LOOP,
integer(intg), intent(out)  ERR,
type(varying_string), intent(out)  ERROR 
)

Executes after each loop of a control loop for bioelectric problems, i.e., after each time step for a time loop.

Parameters
control_loopA pointer to the control loop to solve.
[out]errThe error code
[out]errorThe error string

Definition at line 175 of file classical_field_routines.f90.

References diffusion_equation_routines::diffusion_equation_control_loop_post_loop(), base_routines::enters(), base_routines::exits(), problem_constants::problem_control_time_loop_type, problem_constants::problem_diffusion_equation_type, and problem_constants::problem_reaction_diffusion_equation_type.

subroutine, public classical_field_routines::classical_field_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 classical_field_routines::classical_field_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 matries and rhs vector for the given element number for a clasical field class finite element equation set.

Parameters
equations_setA pointer to the equations set
[in]element_numberThe element number to calcualate
[out]errThe error code
[out]errorThe error string

Definition at line 285 of file classical_field_routines.f90.

References advection_equation_routines::advection_equation_finite_element_calculate(), advection_diffusion_equation_routines::advectiondiffusion_finiteelementcalculate(), diffusion_equation_routines::diffusion_equation_finite_element_calculate(), base_routines::enters(), equations_set_constants::equations_set_advection_diffusion_equation_type, equations_set_constants::equations_set_advection_equation_type, equations_set_constants::equations_set_biharmonic_equation_type, equations_set_constants::equations_set_diffusion_equation_type, equations_set_constants::equations_set_helmholtz_equation_type, equations_set_constants::equations_set_hj_equation_type, equations_set_constants::equations_set_laplace_equation_type, equations_set_constants::equations_set_poisson_equation_type, equations_set_constants::equations_set_reaction_diffusion_equation_type, equations_set_constants::equations_set_wave_equation_type, base_routines::exits(), laplace_equations_routines::laplaceequation_finiteelementcalculate(), and poisson_equations_routines::poisson_equation_finite_element_calculate().

Referenced by equations_set_routines::equations_set_finite_element_calculate().

subroutine, public classical_field_routines::classical_field_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, public classical_field_routines::classicalfield_boundaryconditionsanalyticcalculate ( type(equations_set_type), pointer  EQUATIONS_SET,
type(boundary_conditions_type), pointer  BOUNDARY_CONDITIONS,
integer(intg), intent(out)  ERR,
type(varying_string), intent(out)  ERROR 
)
subroutine, public classical_field_routines::classicalfield_equationssetsolutionmethodset ( type(equations_set_type), pointer  EQUATIONS_SET,
integer(intg), intent(in)  SOLUTION_METHOD,
integer(intg), intent(out)  ERR,
type(varying_string), intent(out)  ERROR 
)
subroutine, public classical_field_routines::classicalfield_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 classical_field_routines::classicalfield_finiteelementjacobianevaluate ( type(equations_set_type), pointer  EQUATIONS_SET,
integer(intg), intent(in)  ELEMENT_NUMBER,
integer(intg), intent(out)  ERR,
type(varying_string), intent(out)  ERROR 
)
subroutine, public classical_field_routines::classicalfield_finiteelementresidualevaluate ( type(equations_set_type), pointer  EQUATIONS_SET,
integer(intg), intent(in)  ELEMENT_NUMBER,
integer(intg), intent(out)  ERR,
type(varying_string), intent(out)  ERROR 
)
subroutine, public classical_field_routines::classicalfield_problemspecificationset ( type(problem_type), pointer  problem,
integer(intg), dimension(:), intent(in)  problemSpecification,
integer(intg), intent(out)  err,
type(varying_string), intent(out)  error 
)