Abstract We obtain a class of charged, anisotropic, and spherically symmetric solution characterized by the function $f(\mathcal{R},\mathcal{A})=\mathcal{R}+\alpha \mathcal{A}$, where $\mathcal{R}$ is the Ricci scalar, $\mathcal{A}$ is anticurvature scalar, and $\alpha$ is the coupling constant. The model was developed by utilizing the Karmarkar condition to produce the radial metric coefficient and adopting the time metric coefficient as proposed by Adler. We formulated the model by assuming a specific type of charge distribution within the stellar interior. We elaborated boundary conditions to ensure the continuity of the spacetime, considering the exterior spacetime as Bardeen's solution. In addition, we analyzed several physical entities, including the energy density, pressure components, anisotropy in pressure, energy conditions, equation of state, surface redshift, compactness factor, adiabatic index, sound speed, and Tolman-Oppenheimer-Volkoff equilibrium condition. The aforementioned conditions were satisfied, indicating that the solutions derived in this study are within the physically acceptable range.
Read full abstract