Skip to main content

Import

Initiate an instance of vector field by import.

Interface

 INTERFACE
MODULE SUBROUTINE vField_Import(obj, hdf5, group, dom, domains)
CLASS(VectorField_), INTENT(INOUT) :: obj
TYPE(HDF5File_), INTENT(INOUT) :: hdf5
CHARACTER(*), INTENT(IN) :: group
TYPE(Domain_), TARGET, OPTIONAL, INTENT(IN) :: dom
TYPE(DomainPointer_), TARGET, OPTIONAL, INTENT(IN) :: domains(:)
END SUBROUTINE vField_Import
END INTERFACE

Template

VariableData typeValueComment
restart*CharT or FaThe default value is False. If it is true then it represents that we are restarting the simulation, in this case more information are necessary.
nameStringName of the scalar field
fieldTypeStringNORMAL, CONSTANT, CONSTANT_SPACE, CONSTANT_TIME
spaceCompoIntegerIt represents the number of the number of spatial components in the field. For example, in 2D problem, velocity variable has two spatial components.