52 procedure cartesian_constructor
59 type(namespace_t),
intent(in) :: namespace
60 integer,
intent(in) :: dim
61 class(cartesian_t),
pointer :: cart
68 cart%local_basis = .false.
69 cart%orthogonal = .
true.
77 type(cartesian_t),
intent(inout) :: this_out
78 type(cartesian_t),
intent(in) :: this_in
82 this_out%dim = this_in%dim
83 this_out%local_basis = this_in%local_basis
90 class(cartesian_t),
target,
intent(in) :: this
91 real(real64),
intent(in) :: chi(:)
92 real(real64) :: xx(1:this%dim)
102 class(cartesian_t),
target,
intent(in) :: this
103 real(real64),
intent(in) :: xx(:)
104 real(real64) :: chi(1:this%dim)
114 class(cartesian_t),
intent(in) :: this
115 real(real64),
intent(in) :: xx(:)
116 real(real64),
intent(inout) :: vv(:)
117 real(real64),
optional,
intent(in) :: src(:)
122 if (
present(src))
then
130 class(cartesian_t),
intent(in) :: this
131 real(real64),
intent(in) :: xx(:)
132 complex(real64),
intent(inout) :: vv(:)
133 complex(real64),
optional,
intent(in) :: src(:)
138 if (
present(src))
then
147 real(real64),
intent(in) :: xx(:)
148 real(real64),
intent(inout) :: cv(:)
149 real(real64),
optional,
intent(in) :: src(:)
154 if (
present(src))
then
163 real(real64),
intent(in) :: xx(:)
164 complex(real64),
intent(inout) :: cv(:)
165 complex(real64),
optional,
intent(in) :: src(:)
170 if (
present(src))
then
179 real(real64),
intent(in) :: xx(:)
180 real(real64),
intent(in) :: chi(:)
191 integer,
optional,
intent(in) :: iunit
192 type(
namespace_t),
optional,
intent(in) :: namespace
196 write(
message(1),
'(a)')
' Using Cartesian coordinates'
pure real(real64) function cartesian_det_jac(this, xx, chi)
pure real(real64) function, dimension(1:this%dim) cartesian_from_cartesian(this, xx)
class(cartesian_t) function, pointer cartesian_constructor(namespace, dim)
subroutine, public cartesian_copy(this_out, this_in)
pure subroutine dcartesian_covector_to_cartesian(this, xx, cv, src)
pure subroutine zcartesian_vector_from_cartesian(this, xx, vv, src)
pure subroutine dcartesian_vector_from_cartesian(this, xx, vv, src)
pure real(real64) function, dimension(1:this%dim) cartesian_to_cartesian(this, chi)
subroutine cartesian_write_info(this, iunit, namespace)
pure subroutine zcartesian_covector_to_cartesian(this, xx, cv, src)
real(real64), parameter, public m_one
This module is intended to contain "only mathematical" functions and procedures.
subroutine, public messages_info(no_lines, iunit, verbose_limit, stress, all_nodes, namespace)
character(len=256), dimension(max_lines), public message
to be output by fatal, warning
Vectors defining a basis in a vector space. This class provides methods to convert vector coordinates...