MEF90DefMechAT_Type Derived Type

type, public, abstract, extends(MEF90Object) :: MEF90DefMechAT_Type

MEF90_DefMechAT_Type: The abstract class used to define a generalized Ambrosio-Tortorelli phase field model


Components

Type Visibility Attributes Name Initial
integer(kind=C_INT32_T), public :: aOrder = -1
integer(kind=C_INT32_T), public :: comm
real(kind=C_DOUBLE), public :: cw = -1.0_Kr
real(kind=C_DOUBLE), public :: fractureToughness = 0.0_Kr
real(kind=C_DOUBLE), public :: internalLength = -1.0_Kr
logical(kind=C_BOOL), public :: isElastic = PETSC_FALSE
character(kind=c_char, len=MEF90MXSTRLEN), public :: name = "NULL"
character(kind=c_char, len=MEF90MXSTRLEN), public :: prefix
real(kind=C_DOUBLE), public :: residualStiffness = 0.0_Kr
class(mef90Mat), public, allocatable :: toughnessAnisotropyMatrix
character(len=MEF90MXSTRLEN), public :: type = ''
integer(kind=C_INT32_T), public :: wOrder = -1

Type-Bound Procedures

procedure(ATInterface), public, deferred, pass(self) :: D2a

  • function ATInterface(self, alpha) Prototype

    Arguments

    Type IntentOptional Attributes Name
    class(MEF90DefMechAT_Type), intent(in) :: self
    real(kind=C_DOUBLE) :: alpha

    Return Value real(kind=c_double)

procedure(ATInterface), public, deferred, pass(self) :: D2w

  • function ATInterface(self, alpha) Prototype

    Arguments

    Type IntentOptional Attributes Name
    class(MEF90DefMechAT_Type), intent(in) :: self
    real(kind=C_DOUBLE) :: alpha

    Return Value real(kind=c_double)

procedure(ATInterface), public, deferred, pass(self) :: Da

  • function ATInterface(self, alpha) Prototype

    Arguments

    Type IntentOptional Attributes Name
    class(MEF90DefMechAT_Type), intent(in) :: self
    real(kind=C_DOUBLE) :: alpha

    Return Value real(kind=c_double)

procedure(ATInterface), public, deferred, pass(self) :: Dw

  • function ATInterface(self, alpha) Prototype

    Arguments

    Type IntentOptional Attributes Name
    class(MEF90DefMechAT_Type), intent(in) :: self
    real(kind=C_DOUBLE) :: alpha

    Return Value real(kind=c_double)

procedure(ATInterface), public, deferred, pass(self) :: a

  • function ATInterface(self, alpha) Prototype

    Arguments

    Type IntentOptional Attributes Name
    class(MEF90DefMechAT_Type), intent(in) :: self
    real(kind=C_DOUBLE) :: alpha

    Return Value real(kind=c_double)

procedure, public, pass(self) :: setFromOptions => MEF90DefMechAT_setFromOptions

  • public subroutine MEF90DefMechAT_setFromOptions(self, ierr)

    Author
    Blaise Bourdin (2025, bourdin@mcmaster.ca)

    MEF90DefMechAT_setFromOptions: initializes a MEF90_DefMechAT_Type from options subclasses may implement their own setFromOptions if they have additional parameters, but it is expected that these will call MEF90DefMechAT_setFromOptions

    Arguments

    Type IntentOptional Attributes Name
    class(MEF90DefMechAT_Type), intent(inout) :: self
    integer(kind=C_INT32_T), intent(inout) :: ierr

procedure, public, pass(self) :: view => MEF90Object_view

  • private subroutine MEF90Object_view(self, viewer, ierr)

    Author
    Blaise Bourdin (2026, bourdin@mcmaster.ca)

    MEF90Object_view: Views a MEF90Object and flagged it as viewed so that it is not viewed multiple times when -verbose is set to a high value

    Arguments

    Type IntentOptional Attributes Name
    class(MEF90Object), intent(in) :: self
    type(tPetscViewer), intent(in) :: viewer
    integer(kind=C_INT32_T), intent(inout) :: ierr

procedure, public, pass(self) :: view_internal => MEF90DefMechAT_View

  • public subroutine MEF90DefMechAT_View(self, viewer, ierr)

    Author
    Blaise Bourdin (2025, bourdin@mcmaster.ca)

    MEF90DefMechAT_view: the default viewer for a MEF90_DefMechAT_Type

    Arguments

    Type IntentOptional Attributes Name
    class(MEF90DefMechAT_Type), intent(in) :: self
    type(tPetscViewer), intent(in) :: viewer
    integer(kind=C_INT32_T), intent(inout) :: ierr

procedure(ATInterface), public, deferred, pass(self) :: w

  • function ATInterface(self, alpha) Prototype

    Arguments

    Type IntentOptional Attributes Name
    class(MEF90DefMechAT_Type), intent(in) :: self
    real(kind=C_DOUBLE) :: alpha

    Return Value real(kind=c_double)