1 Introduction

The Levi-Civita spacetime [1] describes the vacuum field exterior to an infinite cylinder of matter. In its general form, it contains two independent parameters [24], one, usually denoted by \(\sigma \), describing the Newtonian energy per unit length, and another related to the angle defects. At first sight, global considerations in General Relativity seem to make cylindrical solutions to the Einstein field equations not so physically relevant: fields with cylindrical symmetry impose infinitely long sources, suggesting a peculiar physical situation. Nonetheless its importance cannot be underestimated, and under controlled circumstances, they provide a very good description of systems of physical interest (see e.g. [5]). Furthermore, Newtonian cylindrical models correspond well to observations [68]. In General Relativity, cylindrical solutions have been used to study various fields like cosmic strings [9, 10], exact models of rotation matched to different sources [11], and models for extragalactic jets [1214] and gravitational radiation [15]. The generalization of the Levi-Civita spacetime to include a nonzero cosmological constant \(\Lambda \) was obtained by Linet [16] and Tian [17] and it is shown by da Silva et al. [18] and Griffiths and Podolsky [19] that it changes the spacetime properties dramatically. The Linet–Tian (LT) solution has also been used to describe cosmic strings [17, 20, 21] and, in [22], static cylindrical shell sources have been found for the LT spacetime with negative cosmological constant. Considering this extensive interest in cylindrically symmetric solutions we assume worthwhile to analyze some further properties of the LT spacetime.

In [23], while being studied conformally flat sources, it is proved a seemingly unexpected property that static cylindrical sources matched smoothly to the Levi-Civita spacetime exteriors do not admit conformally flat solutions. For spherical symmetry, there is the well known interior isotropic pressure and incompressible Schwarzschild solution, which is conformally flat [24], matched to the Schwarzschild vacuum exterior spacetime. Senovilla and Vera [25] obtained another disturbing result being the impossibility of the cylindrically symmetric Einstein-Straus model. In order to prove this impossibility they show that a Robertson-Walker spacetime, which is conformally flat, cannot be matched to any cylindrically symmetric static metric across a nonspacelike hypersurface preserving the symmetry. This result was subsequently generalised in [2628]. Another result that might be linked to this trend was obtained by Di Prisco et al. [15] and is the following: A cylindrically symmetric shear free collapsing anisotropic fluid can be matched to Einstein-Rosen spacetime as obtained in [15], however, by considering that the exterior spacetime reduces to the static Levi-Civita spacetime, it imposes through its matching conditions, that the cylindrical source must be static.Footnote 1 We recall that a collapsing cylindrical shear free fluid, if it is isotropic, reduces to the conformally flat Robertson-Walker spacetime.

Here, we study static conformally flat solutions to an anisotropic fluid distribution bearing a non-zero cosmological constant and the possibility of matching them to the exterior LT spacetime.

The plan of the paper is as follows. In Sect. 2, we present the field equations for static anisotropic sources with a non zero cosmological constant. In Sect. 3, the matching conditions for the interior static anisotropic fluid to the LT exterior spacetime are given. Section 4, is devoted to conformally flat solutions. The matching conditions when the interior spacetime is conformally flat and their consequences are analyzed in Sect. 5. We finish the paper with a conclusion suggesting a physical justification to our matching results.

We use latin indices \(a,b,\ldots =0,1,2,3\) and use units such that the speed of light \(c=1\).

2 Static cylindrically symmetric anisotropic sources with \(\Lambda \ne 0\)

We consider a static cylindrically symmetric anisotropic fluid bounded by a cylindrical surface \(S\) and with energy momentum tensor given by

$$\begin{aligned} T_{ab}=(\mu +P_r)V_{a}V_{b}+P_rg_{ab}+(P_z-P_r)S_{a}S_{b}+ (P_{\phi }-P_r)K_{a}K_{b}, \end{aligned}$$
(1)

where \(\mu \) is the energy density, \(P_r,\,P_z\) and \(P_{\phi }\) are the principal stresses and \(V_{a},\,S_{a}\) and \(K_{a}\) satisfy

$$\begin{aligned} V^{a}V_{a}=-1, \;\; S^{a}S_{a}=K^{a}K_{a}=1, \;\; V^{a}S_{a}=V^{a}K_{a}=S^{a}K_{a}=0. \end{aligned}$$
(2)

We assume for the interior to \(S\) the general static cylindrically symmetric metric which can be written

$$\begin{aligned} ds^2=-A^2dt^2+B^2(dr^2+dz^2)+C^2d\phi ^2, \end{aligned}$$
(3)

where \(A,\,B\) and \(C\) are \(C^2\)-functions of \(r\). To represent cylindrical symmetry, we impose the following ranges on the coordinates

$$\begin{aligned} -\!\infty < t<\infty , \quad 0\le r, \quad -\infty <z<\infty , \quad 0\le \phi < 2\pi , \end{aligned}$$
(4)

and \(\phi =2\pi \) is identified with \(\phi =0\). We number the coordinates \(x^0=t,\,x^1=r,\,x^2=z\) and \(x^3=\phi \) and we choose the fluid being at rest in this coordinate system, hence from (2) and (3) we have

$$\begin{aligned} V_{a}=-A\delta _{a}^0, \;\; S_{a}=B\delta _{a}^2, \;\; K_{a}=C\delta _{a}^3. \end{aligned}$$
(5)

For the Einstein field equations, \(G_{ab}=\kappa T_{ab}-\Lambda g_{ab}\), where \(\Lambda \) is the cosmological constant, with (1), (3) and (5) we have the non zero components,

$$\begin{aligned} G_{00}&= -\left(\frac{A}{B}\right)^{2}\left[\left(\frac{B^{\prime }}{B}\right)^{\prime }+ \frac{C^{\prime \prime }}{C}\right]=\kappa \bar{\mu }A^2, \end{aligned}$$
(6)
$$\begin{aligned} G_{11}&= \frac{A^{\prime }C^{\prime }}{AC}+\left(\frac{A^{\prime }}{A} +\frac{C^{\prime }}{C}\right) \frac{B^{\prime }}{B}=\kappa \bar{P}_{r} B^2, \end{aligned}$$
(7)
$$\begin{aligned} G_{22}&= \frac{A^{\prime \prime }}{A}+\frac{C^{\prime \prime }}{C} +\frac{A^{\prime }}{A}\frac{C^{\prime }}{C}-\left(\frac{A^{\prime }}{A} +\frac{C^{\prime }}{C}\right)\frac{B^{\prime }}{B}=\kappa \bar{P}_{z} B^2, \end{aligned}$$
(8)
$$\begin{aligned} G_{33}&= \left(\frac{C}{B}\right)^2 \left[\frac{A^{\prime \prime }}{A}+\left(\frac{B^{\prime }}{B} \right)^{\prime }\right]=\kappa \bar{P}_{\phi } C^2, \end{aligned}$$
(9)

where \(\bar{\mu }=\mu +\Lambda /\kappa ,\,\bar{P}_r=P_r-\Lambda /\kappa ,\,\bar{P}_z=P_z-\Lambda /\kappa ,\,\bar{P}_{\phi }=P_{\phi }-\Lambda /\kappa \) and the primes stand for differentiation with respect to \(r\).

The extension of the expression for the mass of an isolated system proposed by Tolman [30] and Whittaker [31] to a non isolated system, bearing cylindrical symmetry, has been obtained by Israel [32]. Other proposals for the mass per unit length exist, e.g. given by Marder [33] and Vishveshwara and Winicour [34], but they proved to do not reproduce the expected Newtonian limit [4], while Israel’s does. For this reason, we use here the expression for mass per unit length obtained by Israel, which is

$$\begin{aligned} m=2\pi \int \limits _{0}^{r_S} (\bar{\mu }+\bar{P}_r+\bar{P}_z+\bar{P}_\phi )\sqrt{-g}\; dr, \end{aligned}$$
(10)

where \(g\) is the determinant of the metric. Substituting (3) and (6)–(9) into (10) one obtains

$$\begin{aligned} m=\frac{4\pi }{\kappa }\int \limits _{0}^{r_S} (A^{\prime }C)^{\prime }dr, \end{aligned}$$
(11)

and by considering the following regularity conditions on the axis [35]

$$\begin{aligned} A^{\prime }(0)=B^{\prime }(0)=C^{\prime \prime }(0)=C(0)=0, \;\; B(0)=C^{\prime }(0)=1, \end{aligned}$$
(12)

Equation (11), at \(r=r_S\), becomes

$$\begin{aligned} m\stackrel{S}{=}\frac{4\pi }{\kappa }A^{\prime }C, \end{aligned}$$
(13)

where \(\stackrel{S}{=}\) denotes equality on \(S\).

Since we are concerned with conformally flat sources for the LT spacetime, we need, in the sequel, the square of the magnitude of the Weyl tensor \(\mathcal{C }^2=C^{abcd}C_{abcd}\), which can be written with the aid of the field equations (6)–(9) as

$$\begin{aligned} \mathcal{C }^2&= \frac{2}{3}\left\{ \left[\kappa (\bar{\mu }+\bar{P}_z)+\frac{2}{B^2} (\beta -\gamma )\right]^2 +\left[\kappa (\bar{\mu }+\bar{P}_{\phi }) +\frac{2}{B^2}(\beta -\alpha )\right]^2\right. \nonumber \\&\left.+\left[\kappa (\bar{P}_z-\bar{P}_{\phi })+\frac{2}{B^2} (\alpha -\gamma )\right]^2\right\} , \end{aligned}$$
(14)

where

$$\begin{aligned} \frac{A^{\prime }}{A}\frac{B^{\prime }}{B}=\alpha , \;\; \frac{B^{\prime }}{B}\frac{C^{\prime }}{C}=\beta , \;\; \frac{A^{\prime }}{A}\frac{C^{\prime }}{C}=\gamma . \end{aligned}$$
(15)

3 LT spacetime and matching conditions

In this section, we match the interior spacetime, bounded by the surface \(S\) and given by the metric (3), to an exterior described by the LT spacetime containing the cosmological constant. The generalized static cylindrically symmetric Levi-Civita metric with non zero \(\Lambda \), given in its usual form by the LT metric [16, 17] is

$$\begin{aligned} ds^{2+}&= -a^2Q^{2/3}P^{-2(1-8\sigma +4\sigma ^2)/3\Sigma }dt^2+d\rho ^2 +b^2Q^{2/3}P^{-2(1+4\sigma -8\sigma ^2)/3\Sigma }dz^2 \nonumber \\&+c^2Q^{2/3}P^{4(1-2\sigma -2\sigma ^2)/3\Sigma }d\phi ^2, \end{aligned}$$
(16)

where \(\Sigma =1-2\sigma +4\sigma ^2\), and for \(\Lambda <0\),

$$\begin{aligned} Q(\rho )=\frac{1}{\sqrt{3|\Lambda |}}\sinh (2R), \;\; P(\rho )=\frac{2}{\sqrt{3|\Lambda |}}\tanh R, \end{aligned}$$
(17)

with

$$\begin{aligned} R=\frac{\sqrt{3|\Lambda |}}{2}\rho , \end{aligned}$$
(18)

and \(a,\,b,\,c\) and \(\sigma \ge 0\) are real constants. The case \(\Lambda >0\) is obtained by replacing the hyperbolic functions by trigonometric ones [16, 17]. The coordinates \(t,\,z\) and \(\phi \) in (16) can be taken the same as in (3) and with the same ranges (4). The radial coordinates \(r\) and \(\rho \) are not necessarily continuous on \(S\) as we see below by applying the junction conditions. The constants \(a\) and \(b\) can be removed by scale transformations (although we don’t do this ahead in order to use these constants as free parameters for the matching), while \(c\) cannot be transformed away if we want to preserve the range of \(\phi \). The constant \(\sigma \) represents the Newtonian mass per unit length.

Following Darmois junction conditions [36] we impose that, on the surface \(S\), the first and second fundamental forms which \(S\) inherits from the interior metric (3) and from the exterior metric (16) are equal, hence we obtain the following two sets of equations on \(S\),

$$\begin{aligned} A\stackrel{S}{=}a\,Q^{1/3}P^{-(1-8\sigma +4\sigma ^2)/3\Sigma }, \end{aligned}$$
(19)
$$\begin{aligned} B\stackrel{S}{=}b\,Q^{1/3}P^{-(1+4\sigma -8\sigma ^2)/3\Sigma }, \end{aligned}$$
(20)
$$\begin{aligned} C\stackrel{S}{=}c\,Q^{1/3}P^{2(1-2\sigma -2\sigma ^2)/3\Sigma }, \end{aligned}$$
(21)

andFootnote 2

$$\begin{aligned} \frac{A^{\prime }}{AB}\stackrel{S}{=}\sqrt{\frac{|\Lambda |}{3}} \,\frac{\Sigma (\cosh ^2R-1)+3\sigma }{\Sigma \sinh R\,\cosh R}, \end{aligned}$$
(22)
$$\begin{aligned} \frac{B^{\prime }}{B^2}\stackrel{S}{=}\sqrt{\frac{|\Lambda |}{3}}\, \frac{\Sigma (\cosh ^2R-1)-3\sigma (1-2\sigma )}{\Sigma \sinh R\,\cosh R}, \end{aligned}$$
(23)
$$\begin{aligned} \frac{C^{\prime }}{BC}\stackrel{S}{=}\sqrt{\frac{|\Lambda |}{3}} \,\frac{2\Sigma (\cosh ^2R-1)+ 3(1-2\sigma )}{2\Sigma \sinh R\,\cosh R}. \end{aligned}$$
(24)

By replacing the matching conditions (19)–(24) in (7) we get, for both cases \(\Lambda <0\) and \(\Lambda >0\), that

$$\begin{aligned} \bar{P}_r\stackrel{S}{=}-\Lambda \;\; \text{ or} \;\; P_r\stackrel{S}{=}0, \end{aligned}$$
(25)

as expected. The mass per unit length (13) with (19)–(22) and considering the gravitational coupling constant \(G=1\), then \(\kappa =8\pi \), can be written as

$$\begin{aligned} m\stackrel{S}{=}m_{LC}+\frac{abc}{3}\sinh ^2R, \end{aligned}$$
(26)

where the mass per unit length for the Levi-Civita metric, with \(\Lambda =0\), is

$$\begin{aligned} m_{LC}=abc\frac{\sigma }{\Sigma }, \end{aligned}$$
(27)

thus showing that the presence of \(\Lambda <0\) increases the mass per unit length. However, for \(\Lambda >0\) we obtain

$$\begin{aligned} m\stackrel{S}{=}m_{LC}-\frac{abc}{3}\sin ^2R, \end{aligned}$$
(28)

producing an opposite effect, diminishing the mass per unit length. In the Conclusion we consider these results as a possible justification for the possibility, or impossibility, of matching conformally flat interior spacetimes to LT exteriors.

4 Conformally flat interior sources

The conformally flat spacetime solution, where all Weyl tensor components vanish, \(C_{abcd}=0\), for (3) with the regularity conditions (12) satisfied produces [23]

$$\begin{aligned} A&= a_1\cosh (a_2r)B, \end{aligned}$$
(29)
$$\begin{aligned} C&= \frac{1}{a_2}\sinh (a_2 r)B, \end{aligned}$$
(30)

where \(a_1\ne 0\) and \(a_2\ne 0\) are integration constants, and by rescaling \(t\) we can assume \(a_1=1\).

The interpretation of \(a_2\) can be given in the following way. From (29) and (30) we can write

$$\begin{aligned} \frac{A^{\prime }}{A}&= \frac{B^{\prime }}{B}+a_2\tanh (a_2r), \end{aligned}$$
(31)
$$\begin{aligned} \frac{C^{\prime }}{C}&= \frac{B^{\prime }}{B}+a_2\coth (a_2r), \end{aligned}$$
(32)

and with (14) and (15) it follows,

$$\begin{aligned} \kappa ({\bar{\mu }}+{\bar{P}}_z)=\frac{2a_2}{B^2}\left[\tanh (a_2r)\frac{B^{\prime }}{B}+a_2\right], \end{aligned}$$
(33)
$$\begin{aligned} \kappa ({\bar{\mu }}+{\bar{P}}_{\phi })=\frac{2a_2}{B^2}\left[\tanh (a_2r)-\coth (a_2r)\right] \frac{B^{\prime }}{B}, \end{aligned}$$
(34)

producing

$$\begin{aligned} \tanh ^2(a_2r)=\frac{2a_2^2-\kappa ({\bar{\mu }}+{\bar{P}}_z)B^2}{2a_2^2+\kappa ({\bar{P}}_{\phi }-{\bar{P}}_z)B^2}. \end{aligned}$$
(35)

At the centre of the source, \(r=0\), considering the regularity conditions (12) we have from (35)

$$\begin{aligned} 2a_2^2=\kappa ({\bar{\mu }}_0+{\bar{P}}_{z0}). \end{aligned}$$
(36)

5 Interior static conformally spacetime matched to exterior LT spacetime

We start by considering the matching on \(S\) for \(\Lambda <0\). Then, (32) with (23) and (24) becomes

$$\begin{aligned} \frac{a_2}{B}\coth (a_2r)\stackrel{S}{=}\frac{\sqrt{3|\Lambda |}}{2\Sigma }\frac{1-4\sigma ^2}{\sinh R\, \cosh R}. \end{aligned}$$
(37)

From the equality of the interior and exterior first fundamental forms on \(S\) we have \(B^2dr^2\stackrel{S}{=}d\rho ^2\) which, using (20), leads to the relation

$$\begin{aligned} r\stackrel{S}{=}\frac{1}{b}\int \limits _0^{\rho _S}\frac{d\rho }{Q^{1/3}P^{- (1+4\sigma -8\sigma ^2)/3\Sigma }}, \end{aligned}$$
(38)

with \(b>0\). Then, using the equality

$$\begin{aligned} \frac{2\Sigma }{\sqrt{3|\Lambda |}b}\frac{\sinh R\,\cosh R}{Q^{1/3}P^{-(1+4\sigma -8\sigma ^2)/3\Sigma }}&= \frac{4\Sigma }{3b}\int \limits \frac{\sinh ^2R\,d\rho }{Q^{1/3}P^{- (1+4\sigma -8\sigma ^2)/3\Sigma }} \nonumber \\&+\frac{1}{b}\int \limits \frac{d\rho }{Q^{1/3}P^{-(1+4\sigma -8\sigma ^2)/3\Sigma }}, \end{aligned}$$
(39)

at the boundary S, (37) becomes

$$\begin{aligned} a_2\left(r+\frac{4\Sigma }{3b}\int \limits _0^{\rho _S}\frac{\sinh ^2R\,d\rho }{Q^ {1/3}P^{-(1+4\sigma -8\sigma ^2)/3\Sigma }}\right) \coth (a_2r)\stackrel{S}{=}1-4\sigma ^2. \end{aligned}$$
(40)

Since the left hand side of (40) is always bigger than \(1\) this condition can never be satisfied.

When \(\Lambda =0\), Eq. (40) reduces to

$$\begin{aligned} a_2r\coth (a_2r)\stackrel{S}{=}1-4\sigma ^2, \end{aligned}$$
(41)

obtained in [23] for the case of a Levi-Civita exterior, which again shows the impossibility of matching a cylindrical conformally flat interior spacetime to a Levi-Civita exterior. Then we can state the following:

It is impossible to match any conformally flat static cylindrically symmetric interior spacetime (29) and (30) satisfying the regularity conditions (12) to an exterior LT spacetime, with \(\Lambda <0\), or to an exterior Levi-Civita spacetime, with \(\Lambda =0\), across a timelike cylindrical hypersurface \(S\).

For \(\Lambda >0\), the corresponding equation to (40) becomes

$$\begin{aligned} a_2\left(r-\frac{4\Sigma }{3b}\int \limits _0^{\rho _S}\frac{\sin ^2R\,d\rho }{Q^{1/3}P^{-(1+4\sigma -8\sigma ^2)/3\Sigma }}\right) \coth (a_2r) \stackrel{S}{=}1-4\sigma ^2, \end{aligned}$$
(42)

and since the left hand side is \(<1\) it does not discard, a priori, conformally flat sources matched to the LT spacetime with \(\Lambda >0\).

Now, we give simple examplesFootnote 3 for which a conformally flat interior source can be matched to an exterior LT spacetime with \(\Lambda >0\).

5.1 \(\bar{P}_r=\bar{P}_z\) or \(\bar{P}_z=\bar{P}_{\phi }\)

In this case, the solution of (6)–(9) with (29) and (30) can be easily demonstrated to be

$$\begin{aligned} B=\frac{1}{\cosh (a_2r)}, \end{aligned}$$
(43)

and

$$\begin{aligned} \bar{P}_r=\bar{P}_z=\bar{P}_{\phi }=-\frac{\bar{\mu }}{3} =-\frac{a_2^2}{\kappa }. \end{aligned}$$
(44)

By matching this solution on \(S\) to the exterior LT spacetime we have from (25),

$$\begin{aligned} P_r=P_z=P_{\phi }=0, \;\; \mu =2\frac{\Lambda }{\kappa }, \end{aligned}$$
(45)

reducing the interior solution to the Einstein static universe.

The junction conditions (19)–(24) for \(\Lambda >0\) and (43) become

$$\begin{aligned}&\displaystyle 1\stackrel{S}{=}a\,Q^{1/3}P^{-(1-8\sigma +4\sigma ^2)/3\Sigma }, \end{aligned}$$
(46)
$$\begin{aligned}&\displaystyle \frac{1}{\cosh (a_2r)}\stackrel{S}{=}b\,Q^{1/3}P^{-(1+4\sigma -8\sigma ^2)/3\Sigma }, \end{aligned}$$
(47)
$$\begin{aligned}&\displaystyle \frac{1}{a_2}\tanh (a_2r)\stackrel{S}{=}c\,Q^{1/3}P^{2 (1-2\sigma -2\sigma ^2)/3\Sigma }, \end{aligned}$$
(48)

and

$$\begin{aligned}&\displaystyle 0\stackrel{S}{=}\sqrt{\frac{\Lambda }{3}}\frac{3\sigma - \Sigma \sin ^2R}{\Sigma \sin R\cos R}, \end{aligned}$$
(49)
$$\begin{aligned}&\displaystyle a_2\sinh (a_2r)\stackrel{S}{=}\sqrt{\frac{\Lambda }{3}} \frac{3\sigma (1-2\sigma )+\Sigma \sin ^2R}{\Sigma \sin R\cos R}, \end{aligned}$$
(50)
$$\begin{aligned}&\displaystyle \frac{a_2}{\sinh (a_2r)}\stackrel{S}{=}\sqrt{\frac{\Lambda }{3}}\frac{3(1-2\sigma )-2\Sigma \sin ^2R}{2\Sigma \sin R\cos R}. \end{aligned}$$
(51)

From (49)–(51) we have \(a_2^2=\Lambda \), as can be obtained too from (36), and

$$\begin{aligned} \sin ^2R\stackrel{S}{=}\frac{3\sigma }{\Sigma }, \;\; \sinh ^2(\sqrt{\Lambda }r)\stackrel{S}{=}\frac{4\sigma (1-\sigma )}{1-4\sigma }, \end{aligned}$$
(52)

where \(0\le \sin R_S\le 1\) and \(0\le \sinh (\sqrt{\Lambda }r_S)<\infty \) are satisfied by \(0<\sigma < 1/4\). While (46)–(48) with (52) define the exterior parameters \(a,b\) and \(c\) in terms of \(\Lambda \) and \(\sigma \).

Hence, it is possible to match a conformally flat static cylindrically symmetric interior spacetime (29) and (30), satisfying regularity conditions (12), to an exterior LT spacetime with \(\Lambda >0\), across a timelike cylindrical hypersurface \(S\).

We call attention to the fact that the LT spacetime with \(\Lambda >0\) has, besides the singularity at \(\rho =0\) where we placed the source, another singularity at \(\rho =\pi /\sqrt{3\Lambda }\) where another source has to be placed. In that case, the matching is still possible by substituting the cylindrical region by a toroidal one following the methods of [19].

5.2 \(\bar{P}_r=\bar{P}_{\phi }\)

In this case, the solution of (6)–(9) with (29) and (30) is

$$\begin{aligned} B=\frac{1}{a_4[\cosh (a_2r)-1]+1} \end{aligned}$$
(53)

where \(a_4 \ne 0\) is a constant. We note that if \(a_4=1\), the function \(B\) corresponds to the solution (43). The density and pressures have the following form

$$\begin{aligned}&\bar{\mu }=2\;a_2^{2}\;a_4\;[(1-a_4)\cosh (a_2 r)+a_4 +1]-a_2^{2}\end{aligned}$$
(54)
$$\begin{aligned}&\bar{P_r}=2a_2^{2}a_4[(a_4 -1)\tanh (a_2 r)\sinh (a_2 r)-1]+a_2^{2}\end{aligned}$$
(55)
$$\begin{aligned}&\bar{P_z}=2a_2^{2}a_4\left[\frac{1-a_4}{\cosh (a_2 r)}+a_4 -3\right]+3a_2^{2} \end{aligned}$$
(56)

In this case, the matching conditions (19)–(24) read

$$\begin{aligned} \frac{\cosh (a_2 r)}{a_4[\cosh (a_2 r)-1]+1}\stackrel{S}{=}a\,Q^{1/3}P^{-(1-8\sigma +4\sigma ^2)/3\Sigma }, \end{aligned}$$
(57)
$$\begin{aligned} \frac{1}{a_4[\cosh (a_2 r)-1]+1}\stackrel{S}{=}b\,Q^{1/3}P^{-(1+4\sigma -8\sigma ^2)/3\Sigma }, \end{aligned}$$
(58)
$$\begin{aligned} \frac{\sinh (a_2 r)}{ a_2 [a_4[\cosh (a_2 r)-1]+1]}\stackrel{S}{=}c\,Q^{1/3}P^{2(1-2\sigma -2\sigma ^2)/3\Sigma }, \end{aligned}$$
(59)

and

$$\begin{aligned}&\displaystyle a_2(1-a_4)\tanh (a_2 r)\stackrel{S}{=}\sqrt{\frac{\Lambda }{3}}\,\frac{3\sigma -\Sigma \sin ^2R }{\Sigma \sin R\cos R}, \end{aligned}$$
(60)
$$\begin{aligned}&\displaystyle a_2 a_4\sinh (a_2 r)\stackrel{S}{=}\sqrt{\frac{\Lambda }{3}}\, \frac{3\sigma (1-2\sigma )+\Sigma \sin ^2R}{\Sigma \sin R\cos R}, \end{aligned}$$
(61)
$$\begin{aligned}&\displaystyle \frac{a_2[\cosh (a_2 r)(1-a_4)+a_4]}{\sinh (a_2 r)}\stackrel{S}{=}\sqrt{\frac{\Lambda }{3}}\,\frac{3(1-2\sigma )- 2\Sigma \sin ^2R }{2\Sigma \sin R\cos R}. \end{aligned}$$
(62)

From (60)–(62) we obtain

$$\begin{aligned} \sin ^2 R \stackrel{S}{=} \frac{3 \sigma }{\Sigma }\left[1+ \frac{2(a_4 -1) (1-\sigma ) \sqrt{1-4\sigma }}{a_4 \sqrt{1-4\sigma ^2}- (a_4 -1)\sqrt{1-4\sigma }}\right] \end{aligned}$$
(63)

and

$$\begin{aligned} \sinh ^2(a_2 r)\stackrel{S}{=}\frac{4\sigma (1-\sigma )}{1-4\sigma }, \end{aligned}$$
(64)

as well as (which also follows from (25))

$$\begin{aligned} a_2^2 \stackrel{S}{=}\Lambda \left[2a_4-1-2a_4(a_4 -1)\frac{4\sigma (1-\sigma )}{\sqrt{(1-4\sigma ) (1-4\sigma ^2)}}\right]^{-1}. \end{aligned}$$
(65)

The inequality \(0\le \sin ^2 R_S\le 1\) in (63) and the positivity of the right hand side of (65), for any \(0<\sigma <1/4\), are satisfied if \(1/2\le a_4\le 1\).

We conclude that, in this case, the matching is possible in the following sense:

For any \(1/2\le a_4\le 1,\,0<\sigma <1/4\) and \(\Lambda >0\), the parameter \(a_2\) is fixed by (65) while \(\rho _S\) and \(r_S\) are determined from (63) and (64). In turn, (57)–(59) fix the exterior parameters \(a, b\) and \(c\). If \(a_4=1\), this solution reduces to the example of the previous section.

6 Conclusion

The main result obtained here is that it is not possible to match a static interior cylindrically symmetric conformally flat spacetime smoothly across a cylindrical surface to an exterior given by the LT spacetime, when \(\Lambda <0\), or, by the Levi-Civita spacetime when \(\Lambda =0\). For \(\Lambda >0\), it is possible to perform such matching as we showed with two examples.

We also showed, that the mass per unit length is increased by the presence of \(\Lambda <0\), while it is diminished by \(\Lambda >0\).

The Levi-Civita spacetime does not possess any horizons, which may seem to indicate, according to our understanding of black hole formation, that there is an upper limit allowed by the mass per unit length. This limit is always below the critical linear mass above which horizons may be formed [4, 37]. The fact that conformally flat spacetimes cannot be matched to Levi-Civita might be physically justified from the fact that sources producing these spacetimes have linear masses higher than this limit. If this is the case, then the inclusion of \(\Lambda <0\) would further unbalance this limit since, from (26), the mass per unit length would be further increased. On the other hand, for \(\Lambda >0\), we see that the matching is possible and, from (28), the corresponding mass per unit length is diminished as compared to the Levi-Civita linear mass. This fact might suggest that, in this case, the linear mass is sufficiently diminished as compared to the critical mass limit.