MFEMComplexVectorIC

Overview

MFEMComplexVectorIC is used to set initial conditions of complex vector valued MFEM variables from two mfem::VectorCoefficients representing its real and imaginary parts. The initial condition will be applied on all subdomains in the mesh.

Example Input File Syntax

[ICs<<<{"href": "../../../syntax/ICs/index.html"}>>>]
  [A_vector_ic]
    type = MFEMComplexVectorIC<<<{"description": "Sets the initial values of an MFEM vector variable from a user-specified vector coefficient.", "href": "MFEMComplexVectorIC.html"}>>>
    variable<<<{"description": "The variable to apply the initial condition on."}>>> = A
    vector_coefficient_real<<<{"description": "The real part of the vector coefficient. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a numeric vector value (enclosed in curly braces)."}>>> = A_exact_real
    vector_coefficient_imag<<<{"description": "The imaginary part of the vector coefficient. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a numeric vector value (enclosed in curly braces)."}>>> = A_exact_imag
  []
[]
(test/tests/mfem/complex/mixed_sesquilinear_ic.i)

Input Parameters

  • variableThe variable to apply the initial condition on.

    C++ Type:VariableName

    Unit:(no unit assumed)

    Controllable:No

    Description:The variable to apply the initial condition on.

  • vector_coefficient_imagThe imaginary part of the vector coefficient. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a numeric vector value (enclosed in curly braces).

    C++ Type:MFEMVectorCoefficientName

    Controllable:No

    Description:The imaginary part of the vector coefficient. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a numeric vector value (enclosed in curly braces).

  • vector_coefficient_realThe real part of the vector coefficient. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a numeric vector value (enclosed in curly braces).

    C++ Type:MFEMVectorCoefficientName

    Controllable:No

    Description:The real part of the vector coefficient. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a numeric vector value (enclosed in curly braces).

Required Parameters

  • control_tagsAdds user-defined labels for accessing object parameters via control logic.

    C++ Type:std::vector<std::string>

    Controllable:No

    Description:Adds user-defined labels for accessing object parameters via control logic.

  • enableTrueSet the enabled status of the MooseObject.

    Default:True

    C++ Type:bool

    Controllable:No

    Description:Set the enabled status of the MooseObject.

Advanced Parameters

Input Files