LCOV - code coverage report
Current view: top level - src/43_ptgroups - m_ptg_C2.F90 (source / functions) Coverage Total Hit
Test: coverage.info Lines: 0.0 % 28 0
Test Date: 2026-11-12 14:41:44 Functions: 0.0 % 1 0
Branches: 0.0 % 84 0

             Branch data     Line data    Source code
       1                 :             : !!****f* ABINIT/ptg_C2
       2                 :             : !!
       3                 :             : !! NAME
       4                 :             : !! ptg_C2
       5                 :             : !!
       6                 :             : !! FUNCTION
       7                 :             : !!
       8                 :             : !! COPYRIGHT
       9                 :             : !! Copyright (C) 2010-2026 ABINIT group (MG)
      10                 :             : !! This file is distributed under the terms of the
      11                 :             : !! GNU General Public License, see ~abinit/COPYING
      12                 :             : !! or http://www.gnu.org/copyleft/gpl.txt .
      13                 :             : !! For the initials of contributors, see ~abinit/doc/developers/contributors.txt .
      14                 :             : !!
      15                 :             : !! INPUTS
      16                 :             : !!
      17                 :             : !! OUTPUT
      18                 :             : !!
      19                 :             : !! SOURCE
      20                 :             : !!
      21                 :             : !********************************************************************************
      22                 :             : ! This include file has been automatically generated by the script ptg.py
      23                 :             : ! Do not edit! Change the script source instead.
      24                 :             : !********************************************************************************
      25                 :             : 
      26                 :             : ! Point group name  C2 (2)
      27                 :             : 
      28                 :             : #if defined HAVE_CONFIG_H
      29                 :             : #include "config.h"
      30                 :             : #endif
      31                 :             : 
      32                 :             : #include "abi_common.h"
      33                 :             : 
      34                 :             : module m_ptg_C2
      35                 :             : contains
      36                 :             : !!**
      37                 :             : 
      38                 :           0 :  subroutine ptg_C2 (nsym,nclass,sym,class_ids,class_names,Irr)
      39                 :             :  use defs_basis
      40                 :             :  use m_abicore
      41                 :             :  use m_defs_ptgroups,  only : irrep_t
      42                 :             :  implicit none
      43                 :             : !Arguments ------------------------------------
      44                 :             :  integer,intent(out) :: nclass,nsym
      45                 :             :  !arrays
      46                 :             :  integer,allocatable,intent(out) :: sym(:,:,:), class_ids(:,:)
      47                 :             :  character(len=5),allocatable,intent(out) :: class_names(:)
      48                 :             :  type(irrep_t),allocatable,intent(out) :: Irr(:)
      49                 :             :  !Local variables-------------------------------
      50                 :             :  complex(dp) :: j=(0.0_dp,1.0_dp)
      51                 :             :  ! ********************************************************************************
      52                 :             : ! List of symmetries packed in classes
      53                 :           0 :  nsym = 2
      54   [ #  #  #  #  :           0 :  ABI_MALLOC(sym, (3,3,nsym))
          #  #  #  #  #  
             #  #  #  #  
                      # ]
      55   [ #  #  #  # ]:           0 :  sym(:,:,1) = RESHAPE( (/1, 0, 0, 0, 1, 0, 0, 0, 1/) ,(/3,3/) )
      56   [ #  #  #  # ]:           0 :  sym(:,:,2) = RESHAPE( (/-1, 0, 0, 0, 1, 0, 0, 0, -1/) ,(/3,3/) )
      57                 :             : 
      58                 :             : ! Number of classes and corresponding indices
      59                 :           0 :  nclass = 2
      60   [ #  #  #  #  :           0 :  ABI_MALLOC(class_ids, (2,nclass))
          #  #  #  #  #  
             #  #  #  #  
                      # ]
      61                 :           0 :  class_ids(1,1) = 1
      62                 :           0 :  class_ids(2,1) = 1
      63                 :           0 :  class_ids(1,2) = 2
      64                 :           0 :  class_ids(2,2) = 2
      65                 :             : 
      66   [ #  #  #  #  :           0 : ABI_MALLOC(class_names,(2))
                   #  # ]
      67                 :           0 :  class_names(1) = "1+"
      68                 :           0 :  class_names(2) = "2+"
      69                 :             : 
      70                 :             : ! List of irreducible representations.
      71   [ #  #  #  #  :           0 :  ABI_MALLOC(Irr, (2))
          #  #  #  #  #  
             #  #  #  #  
                      # ]
      72                 :           0 :  Irr(1)%name = "A"
      73                 :           0 :  Irr(1)%dim = 1
      74                 :           0 :  Irr(1)%nsym = 2
      75   [ #  #  #  #  :           0 :  ABI_MALLOC(Irr(1)%mat, (1,1,2))
                   #  # ]
      76   [ #  #  #  # ]:           0 :  Irr(1)%mat(:,:,1) =  RESHAPE( (/1.0/), (/1, 1/) )
      77   [ #  #  #  # ]:           0 :  Irr(1)%mat(:,:,2) =  RESHAPE( (/1.0/), (/1, 1/) )
      78                 :             : 
      79                 :           0 :  Irr(2)%name = "B"
      80                 :           0 :  Irr(2)%dim = 1
      81                 :           0 :  Irr(2)%nsym = 2
      82   [ #  #  #  #  :           0 :  ABI_MALLOC(Irr(2)%mat, (1,1,2))
                   #  # ]
      83   [ #  #  #  # ]:           0 :  Irr(2)%mat(:,:,1) =  RESHAPE( (/1.0/), (/1, 1/) )
      84   [ #  #  #  # ]:           0 :  Irr(2)%mat(:,:,2) =  RESHAPE( (/-1.0/), (/1, 1/) )
      85                 :             : 
      86                 :           0 :  RETURN
      87                 :             :   if (.FALSE.) write(std_out,*) j
      88                 :             :  end subroutine ptg_C2
      89                 :             : !!***
      90                 :             : 
      91                 :             : end module m_ptg_C2
      92                 :             : !!***
        

Generated by: LCOV version 2.3-1